diff sources/native-root/sbin/init.sh @ 1133:1ad777637d2d

Migrate oneit out of toybox into sources/toys as a standalone program, and fix it so pid 1 has / as its working directory so we can umount /home if necessary.
author Rob Landley <rob@landley.net>
date Sun, 20 Jun 2010 20:32:59 -0500
parents 725e41d66379
children
line wrap: on
line diff
--- a/sources/native-root/sbin/init.sh	Sun Jun 20 18:44:46 2010 -0500
+++ b/sources/native-root/sbin/init.sh	Sun Jun 20 20:32:59 2010 -0500
@@ -75,7 +75,7 @@
       HANDOFF=/mnt/init
     fi
   fi
-  exec /bin/oneit -c /dev/"$CONSOLE" "$HANDOFF"
+  exec /sbin/oneit -c /dev/"$CONSOLE" "$HANDOFF"
 
 # If we're not PID 1, it's probably a chroot.
 else