summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@ubuntu.com>2005-06-13 01:40:55 +0000
committerJeff Bailey <jbailey@ubuntu.com>2005-06-13 01:40:55 +0000
commit8d503582491ccf26b6925e5eb7cf77d9158fc65b (patch)
tree57df4afca9aad0585a23aced340eaa453247bf4d /init
parentb1efb2876bac0e27aac5ff55200a4a7cc83042a0 (diff)
downloadinitramfs-tools-8d503582491ccf26b6925e5eb7cf77d9158fc65b.tar.gz
initramfs-tools-8d503582491ccf26b6925e5eb7cf77d9158fc65b.zip
Update with new dependancy based init system, call the right script directories, always use busybox now, sigh.
Diffstat (limited to 'init')
-rw-r--r--init14
1 files changed, 12 insertions, 2 deletions
diff --git a/init b/init
index c09074f..733e7fd 100644
--- a/init
+++ b/init
@@ -1,4 +1,14 @@
#!/bin/sh -x
+
+/bin/busybox ln -s /bin/busybox /bin/[
+/bin/busybox ln -s /bin/busybox /bin/basename
+/bin/busybox ln -s /bin/busybox /bin/mount
+/bin/busybox ln -s /bin/busybox /bin/mkdir
+/bin/busybox ln -s /bin/busybox /bin/umount
+/bin/busybox ln -s /bin/busybox /bin/sed
+/bin/busybox ln -s /bin/busybox /bin/grep
+/bin/busybox ln -s /bin/busybox /bin/cat
+
mkdir /sys
mkdir /proc
mkdir /tmp
@@ -40,7 +50,7 @@ for x in $(cat /proc/cmdline); do
esac
done
-run_scripts /scripts/init_top
+run_scripts /scripts/init-top
. /scripts/${BOOT}
@@ -59,7 +69,7 @@ fi
mountroot
-run_scripts /scripts/init_bottom
+run_scripts /scripts/init-bottom
umount /sys
umount /proc