Changeset 2498
- Timestamp:
- 05/13/07 02:49:18 (2 years ago)
- Files:
-
- trunk/freewrt/package/base-files-arch/Makefile (modified) (1 diff)
- trunk/freewrt/package/base-files/Makefile (modified) (1 diff)
- trunk/freewrt/package/base-files/files/etc/init.d/hotplug (modified) (1 diff)
- trunk/freewrt/package/base-files/files/etc/init.d/rcK (modified) (1 diff)
- trunk/freewrt/package/busybox/Makefile (modified) (2 diffs)
- trunk/freewrt/package/busybox/files/network.init (modified) (1 diff)
- trunk/freewrt/package/busybox/files/syslog.init (modified) (1 diff)
- trunk/freewrt/target/linux/brcm-2.4/asus-wl500g-deluxe/files/etc/init.d/switch (moved) (moved from trunk/freewrt/target/linux/brcm-2.4/asus-wl500g-deluxe/files/etc/init.d/S15switch) (1 diff)
- trunk/freewrt/target/linux/brcm-2.4/squashfs-overlay/files/etc/init.d/jffs2clean (moved) (moved from trunk/freewrt/target/linux/brcm-2.4/squashfs-overlay/files/etc/init.d/S20jffsclean) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/package/base-files-arch/Makefile
r2319 r2498 10 10 PKG_NAME:= base-files-arch 11 11 PKG_VERSION:= 1.0 12 PKG_RELEASE:= 512 PKG_RELEASE:= 6 13 13 NO_DISTFILES:= 1 14 14 trunk/freewrt/package/base-files/Makefile
r2485 r2498 10 10 PKG_NAME:= base-files 11 11 PKG_VERSION:= 1.0 12 PKG_RELEASE:= 2 512 PKG_RELEASE:= 26 13 13 WRKDIST= ${WRKDIR}/base-files 14 14 NO_DISTFILES:= 1 trunk/freewrt/package/base-files/files/etc/init.d/hotplug
r2485 r2498 1 1 #FWINIT 80 2 2 case $1 in 3 stop )3 stop|autostop) 4 4 export ACTION=remove 5 5 for d in /tmp/.*_id; do trunk/freewrt/package/base-files/files/etc/init.d/rcK
r2485 r2498 6 6 sort -rnk2 | \ 7 7 while read line; do 8 /bin/sh ${line%%:*} stop 2>&18 /bin/sh ${line%%:*} autostop 2>&1 9 9 done 10 10 } | logger -s -p 6 -t '' & trunk/freewrt/package/busybox/Makefile
r2485 r2498 9 9 PKG_NAME:= busybox 10 10 PKG_VERSION:= 1.4.2 11 PKG_RELEASE:= 211 PKG_RELEASE:= 3 12 12 PKG_MD5SUM:= b4c61fb15642be9dde20e8493788c585 13 13 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 … … 37 37 $(INSTALL_DIR) $(IDIR_BUSYBOX)/etc/init.d/ 38 38 $(INSTALL_BIN) ./files/syslog.init \ 39 $(IDIR_BUSYBOX)/etc/init.d/ S05syslog39 $(IDIR_BUSYBOX)/etc/init.d/syslog 40 40 $(INSTALL_BIN) ./files/network.init \ 41 $(IDIR_BUSYBOX)/etc/init.d/ S40network41 $(IDIR_BUSYBOX)/etc/init.d/network 42 42 $(INSTALL_BIN) ./files/crond.init \ 43 43 $(IDIR_BUSYBOX)/etc/init.d/crond trunk/freewrt/package/busybox/files/network.init
r2485 r2498 1 #FWINIT 601 #FWINIT 40 2 2 . /etc/rc.conf 3 3 trunk/freewrt/package/busybox/files/syslog.init
r2485 r2498 1 #FWINIT 601 #FWINIT 05 2 2 . /etc/rc.conf 3 3 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 2 case $1 in 3 autostart|start) 4 # reset switch 5 echo 1 > /proc/switch/eth0/reset 6 echo 1 > /proc/switch/eth0/enable 7 ;; 8 esac 9 exit 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 2 case $1 in 3 autostart|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 ;; 12 esac 13 exit 0


