diff options
Diffstat (limited to 'package/base-files/files')
-rw-r--r-- | package/base-files/files/base-files.conffiles | 13 | ||||
-rw-r--r-- | package/base-files/files/etc/init.d/boot | 2 | ||||
-rw-r--r-- | package/base-files/files/etc/init.d/done | 2 | ||||
-rwxr-xr-x | package/base-files/files/etc/init.d/rcK | 2 | ||||
-rwxr-xr-x | package/base-files/files/etc/init.d/rcS | 2 |
5 files changed, 17 insertions, 4 deletions
diff --git a/package/base-files/files/base-files.conffiles b/package/base-files/files/base-files.conffiles new file mode 100644 index 000000000..2495e2ee4 --- /dev/null +++ b/package/base-files/files/base-files.conffiles @@ -0,0 +1,13 @@ +/etc/banner +/etc/group +/etc/hosts +/etc/ipkg.conf +/etc/modules +/etc/passwd +/etc/profile +/etc/protocols +/etc/sysctl.conf +/etc/network/interfaces +/etc/rc.conf +/etc/sysctl.conf +/etc/shadow diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index c81d7ea65..f71e46240 100644 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -1,5 +1,5 @@ #!/bin/sh -#FWINIT 10 +#INIT 10 [[ $1 = autostart ]] || exit 0 . /etc/functions.sh diff --git a/package/base-files/files/etc/init.d/done b/package/base-files/files/etc/init.d/done index 018d52a43..e5b655bb6 100644 --- a/package/base-files/files/etc/init.d/done +++ b/package/base-files/files/etc/init.d/done @@ -1,4 +1,4 @@ #!/bin/sh -#FWINIT 98 +#INIT 98 [[ $1 = autostart ]] && sysctl -p >&- exit 0 diff --git a/package/base-files/files/etc/init.d/rcK b/package/base-files/files/etc/init.d/rcK index 3cf210fa7..e94d1a296 100755 --- a/package/base-files/files/etc/init.d/rcK +++ b/package/base-files/files/etc/init.d/rcK @@ -4,7 +4,7 @@ busybox reboot -d 60 -f & # just in caseā¦ { [[ -f /proc/diag/led/power ]] && echo f >/proc/diag/led/power test -e /etc/rc.shutdown && (/bin/sh /etc/rc.shutdown) 2>&1 - grep '^#FWINIT ' /etc/init.d/* | \ + grep '^#INIT ' /etc/init.d/* | \ sort -rnk2 | \ while read line; do shebang=$(sed -n '1s/^#![ ]*//p' ${line%%:*}) diff --git a/package/base-files/files/etc/init.d/rcS b/package/base-files/files/etc/init.d/rcS index f9c47e425..fd56feebf 100755 --- a/package/base-files/files/etc/init.d/rcS +++ b/package/base-files/files/etc/init.d/rcS @@ -1,7 +1,7 @@ #!/bin/sh export PATH=/bin:/sbin:/usr/bin:/usr/sbin { - grep '^#FWINIT ' /etc/init.d/* | \ + grep '^#INIT ' /etc/init.d/* | \ sort -nk2 | \ while read line; do /bin/sh ${line%%:*} autostart 2>&1 |