From a0dc5ead2106dd98b47411df78d509b37a8dfb69 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 11 Feb 2012 14:14:53 +0100 Subject: [PATCH] busybox: link /etc/hostname to /proc/sys/kernel/hostname Signed-off-by: Stephan Raue --- packages/sysutils/busybox/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/install b/packages/sysutils/busybox/install index aee24dfca0..cc3b13af72 100755 --- a/packages/sysutils/busybox/install +++ b/packages/sysutils/busybox/install @@ -59,7 +59,7 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`" ln -sf /proc/self/mounts $INSTALL/etc/mtab # create /etc/hostname - echo $HOSTNAME > $INSTALL/etc/hostname + ln -sf /proc/sys/kernel/hostname $INSTALL/etc/hostname mkdir -p $INSTALL/etc/modprobe.d cp $PKG_DIR/modprobe.d/* $INSTALL/etc/modprobe.d