summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/krebs/customfiles/usr/bin
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-01-07 02:37:03 +0700
committermakefu <github@syntax-fehler.de>2013-01-07 02:37:03 +0700
commit867d77d72852e068a6a113467506e61d33a403a0 (patch)
treea976912ba3908f9e52618a88436e73f9e6416139 /minikrebs/profiles/krebs/customfiles/usr/bin
parent9f8c86cce1d31cff069387920e3c2d3294b74e39 (diff)
camkrebs: update
Diffstat (limited to 'minikrebs/profiles/krebs/customfiles/usr/bin')
-rwxr-xr-xminikrebs/profiles/krebs/customfiles/usr/bin/genhostid4
1 files changed, 1 insertions, 3 deletions
diff --git a/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid b/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid
index e6010471..463e04b7 100755
--- a/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid
+++ b/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid
@@ -1,4 +1,2 @@
#!/bin/sh
-if [ ! -e /etc/hostid ];then
- dd if=/dev/urandom bs=1 count=4 | hexdump -e '8 "%x"' > /etc/hostid
-fi
+dd if=/dev/urandom bs=1 count=4> /etc/hostid