From 42bcb9a2a794ce523c9049b46dac7ef4cdf7a2fa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 6 Feb 2007 13:15:52 +0000 Subject: [PATCH] * Recreate the /bin/sh symlink. svn path=/nixos/trunk/; revision=7855 --- system/activate-configuration.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/activate-configuration.sh b/system/activate-configuration.sh index 16800cd8f3c7..7054a40e5c41 100644 --- a/system/activate-configuration.sh +++ b/system/activate-configuration.sh @@ -30,6 +30,12 @@ for i in $(find /etc/ -type l); do done +# Create the required /bin/sh symlink; otherwise lots of things +# (notably the system() function) won't work. +mkdir -m 0755 -p $mountPoint/bin +ln -sfn @shell@ $mountPoint/bin/sh + + # Various log directories. mkdir -m 0755 -p /var/run