Changeset 2498

Show
Ignore:
Timestamp:
05/13/07 02:49:18 (2 years ago)
Author:
tg
Message:

fix the remainder of the init script fubar

run-time test succeeded after prodding and serial console help by wbx@

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/base-files-arch/Makefile

    r2319 r2498  
    1010PKG_NAME:=              base-files-arch 
    1111PKG_VERSION:=           1.0 
    12 PKG_RELEASE:=           5 
     12PKG_RELEASE:=           6 
    1313NO_DISTFILES:=          1 
    1414 
  • trunk/freewrt/package/base-files/Makefile

    r2485 r2498  
    1010PKG_NAME:=              base-files 
    1111PKG_VERSION:=           1.0 
    12 PKG_RELEASE:=           25 
     12PKG_RELEASE:=           26 
    1313WRKDIST=                ${WRKDIR}/base-files 
    1414NO_DISTFILES:=          1 
  • trunk/freewrt/package/base-files/files/etc/init.d/hotplug

    r2485 r2498  
    11#FWINIT 80 
    22case $1 in 
    3 stop
     3stop|autostop
    44        export ACTION=remove 
    55        for d in /tmp/.*_id; do 
  • trunk/freewrt/package/base-files/files/etc/init.d/rcK

    r2485 r2498  
    66            sort -rnk2 | \ 
    77            while read line; do 
    8                 /bin/sh ${line%%:*} stop 2>&1 
     8                /bin/sh ${line%%:*} autostop 2>&1 
    99        done 
    1010} | logger -s -p 6 -t '' & 
  • trunk/freewrt/package/busybox/Makefile

    r2485 r2498  
    99PKG_NAME:=              busybox 
    1010PKG_VERSION:=           1.4.2 
    11 PKG_RELEASE:=           2 
     11PKG_RELEASE:=           3 
    1212PKG_MD5SUM:=            b4c61fb15642be9dde20e8493788c585 
    1313PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    3737        $(INSTALL_DIR) $(IDIR_BUSYBOX)/etc/init.d/ 
    3838        $(INSTALL_BIN) ./files/syslog.init \ 
    39                 $(IDIR_BUSYBOX)/etc/init.d/S05syslog 
     39                $(IDIR_BUSYBOX)/etc/init.d/syslog 
    4040        $(INSTALL_BIN) ./files/network.init \ 
    41                 $(IDIR_BUSYBOX)/etc/init.d/S40network 
     41                $(IDIR_BUSYBOX)/etc/init.d/network 
    4242        $(INSTALL_BIN) ./files/crond.init \ 
    4343                $(IDIR_BUSYBOX)/etc/init.d/crond 
  • trunk/freewrt/package/busybox/files/network.init

    r2485 r2498  
    1 #FWINIT 6
     1#FWINIT 4
    22. /etc/rc.conf 
    33 
  • trunk/freewrt/package/busybox/files/syslog.init

    r2485 r2498  
    1 #FWINIT 60 
     1#FWINIT 05 
    22. /etc/rc.conf 
    33 
  • trunk/freewrt/target/linux/brcm-2.4/asus-wl500g-deluxe/files/etc/init.d/switch

    r2165 r2498  
    1 # reset switch 
    2 echo 1 > /proc/switch/eth0/reset 
    3 echo 1 > /proc/switch/eth0/enable 
     1#FWINIT 15 
     2case $1 in 
     3autostart|start) 
     4        # reset switch 
     5        echo 1 > /proc/switch/eth0/reset 
     6        echo 1 > /proc/switch/eth0/enable 
     7        ;; 
     8esac 
     9exit 0 
  • trunk/freewrt/target/linux/brcm-2.4/squashfs-overlay/files/etc/init.d/jffs2clean

    r2165 r2498  
    1 # if / is tmpfs, we have an old or broken jffs2 
    2 # erase data partition and set flag between bootloader and kernel 
    3 if mount | fgrep "on / type tmpfs" >/dev/null; then 
    4         mtd erase data 
    5         jffs2root --clean 
    6         busybox reboot 
    7 fi 
     1#FWINIT 20 
     2case $1 in 
     3autostart|start) 
     4        # if / is tmpfs, we have an old or broken jffs2 
     5        # erase data partition and set flag between bootloader and kernel 
     6        if mount | fgrep "on / type tmpfs" >/dev/null; then 
     7                mtd erase data 
     8                jffs2root --clean 
     9                busybox reboot 
     10        fi 
     11        ;; 
     12esac 
     13exit 0