Displaying 1 result from an estimated 1 matches for "iprog".
Did you mean:
prog
2002 Aug 18
1
initramfs scripts + cpio archive stuff
...ole 2>&1
+
+# Unmount original devfs if any (FIXME)
+if [ "$devfs" = "mount" ]; then
+ umount -f /initramfs/dev
+fi
+
+# This is the bit at the end of init/main.c:init()
+set +e
+if [ -n "$init" -a -x "$init" ]; then
+ exec "$init"
+fi
+for iprog in /sbin/init /etc/init /bin/init /bin/sh; do
+ test -x $iprog && exec $iprog
+done
+echo PANIC: No init found. Try passing init= option to kernel.
diff -urN -x CVS -x *.[oa] klibc/scripts/load_ramdisk klibc-0.51/scripts/load_ramdisk
--- klibc/scripts/load_ramdisk Thu Jan 1 01:00:00 1970...