Kaydet (Commit) b7d143ad authored tarafından Your Name's avatar Your Name

fix boot

üst 660d32c2
......@@ -13,7 +13,7 @@ run_modules(){
for i in $(ls /scripts | sort)
do
debug "Running $i"
. /scripts/$i || fallback_shell
. /scripts/$i || true
done
}
mount_handler(){
......@@ -47,10 +47,11 @@ is_file_avaiable(){
}
fallback_shell(){
warn "Booting dead. Now you are in initial ramdisk."
while true
do
warn "Booting dead. Now you are in initial ramdisk."
/busybox setsid cttyhack /bin/sh || /busybox sh
clear
done
}
detect_root(){
......
#!/busybox ash
. /vars
. /functions
generate_rootfs || fallback_shell
mount_handler || fallback_shell
parse_cmdline || fallback_shell
detect_root || fallback_shell
run_modules || fallback_shell
while true
do
/busybox sleep 999
done
generate_rootfs
mount_handler
parse_cmdline
detect_root
run_modules
fallback_shell
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment