diff options
Diffstat (limited to 'package/base-files/default/etc/init.d')
-rwxr-xr-x | package/base-files/default/etc/init.d/boot (renamed from package/base-files/default/etc/init.d/S10boot) | 1 | ||||
-rwxr-xr-x | package/base-files/default/etc/init.d/cron (renamed from package/base-files/default/etc/init.d/S60cron) | 0 | ||||
-rwxr-xr-x | package/base-files/default/etc/init.d/httpd (renamed from package/base-files/default/etc/init.d/S50httpd) | 0 | ||||
-rwxr-xr-x | package/base-files/default/etc/init.d/network (renamed from package/base-files/default/etc/init.d/S40network) | 1 | ||||
-rwxr-xr-x | package/base-files/default/etc/init.d/rcS | 4 | ||||
-rwxr-xr-x | package/base-files/default/etc/init.d/telnet (renamed from package/base-files/default/etc/init.d/S50telnet) | 0 |
6 files changed, 4 insertions, 2 deletions
diff --git a/package/base-files/default/etc/init.d/S10boot b/package/base-files/default/etc/init.d/boot index 77b5ca72d5..a5c8603a5d 100755 --- a/package/base-files/default/etc/init.d/S10boot +++ b/package/base-files/default/etc/init.d/boot @@ -1,6 +1,7 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=10 start() { [ -f /proc/mounts ] || /sbin/mount_root [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc diff --git a/package/base-files/default/etc/init.d/S60cron b/package/base-files/default/etc/init.d/cron index a450c36dd2..a450c36dd2 100755 --- a/package/base-files/default/etc/init.d/S60cron +++ b/package/base-files/default/etc/init.d/cron diff --git a/package/base-files/default/etc/init.d/S50httpd b/package/base-files/default/etc/init.d/httpd index a05b10c094..a05b10c094 100755 --- a/package/base-files/default/etc/init.d/S50httpd +++ b/package/base-files/default/etc/init.d/httpd diff --git a/package/base-files/default/etc/init.d/S40network b/package/base-files/default/etc/init.d/network index c7720369fd..45d5311a7a 100755 --- a/package/base-files/default/etc/init.d/S40network +++ b/package/base-files/default/etc/init.d/network @@ -1,6 +1,7 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=40 start() { setup_switch() { return 0; } diff --git a/package/base-files/default/etc/init.d/rcS b/package/base-files/default/etc/init.d/rcS index 7fae7f5b05..27bc34b220 100755 --- a/package/base-files/default/etc/init.d/rcS +++ b/package/base-files/default/etc/init.d/rcS @@ -11,8 +11,8 @@ syslogd -C 16 #${log_ipaddr:+-L -R $log_ipaddr} klogd ( - for i in /etc/init.d/S*; do - $i start 2>&1 + for i in /etc/rc.d/S*; do + $i boot 2>&1 done sysctl -p >&- diff --git a/package/base-files/default/etc/init.d/S50telnet b/package/base-files/default/etc/init.d/telnet index 228eac2b62..228eac2b62 100755 --- a/package/base-files/default/etc/init.d/S50telnet +++ b/package/base-files/default/etc/init.d/telnet |