Changeset e4ba301 in freewrt
- Timestamp:
- Jul 9, 2006, 3:58:53 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 5642350
- Parents:
- 141418f
- Files:
-
- 3 added
- 6 edited
-
package/base-files/default/bin/firstboot (modified) (1 diff)
-
package/base-files/default/bin/version (added)
-
package/base-files/default/etc/init.d/rcS (modified) (1 diff)
-
package/base-files/default/etc/preinit (modified) (1 diff)
-
package/base-files/default/etc/profile (modified) (1 diff)
-
package/base-files/default/sbin/failsafe (added)
-
package/base-files/default/sbin/mount_root (modified) (1 diff)
-
target/linux/image/Makefile (modified) (1 diff)
-
target/linux/package/base-files/files/brcm-2.4/etc/preinit.arch (added)
Legend:
- Unmodified
- Added
- Removed
-
package/base-files/default/bin/firstboot
r141418f re4ba301 50 50 } 51 51 52 fopivot() { # <rw_root> <ro_root> <dupe?> 53 root=$1 54 { 55 mount -t mini_fo -o base=/,sto=$1 $1 /mnt 2>&- && root=/mnt 56 } || { 57 [ "$3" = "1" ] && mount -o bind $1 $1 && dupe $1 $rom 58 } 59 pivot $root $2 60 } 61 62 52 63 ramoverlay() { 53 64 mkdir -p /tmp/root -
package/base-files/default/etc/init.d/rcS
r141418f re4ba301 2 2 ${FAILSAFE:+exit} 3 3 4 [ -f /etc/config/network ] && . /etc/config/network 5 eval $(ipcalc "$log_ipaddr") 6 [ "$log_ipaddr" = "$IP" ] || log_ipaddr="" 7 syslogd -C 16 ${log_ipaddr:+-L -R $log_ipaddr} 4 syslogd -C 16 8 5 klogd 9 #${FAILSAFE:+telnetd -l /bin/login; ifup lan; exit} 6 10 7 for i in /etc/init.d/S*; do 11 8 $i start 2>&1 -
package/base-files/default/etc/preinit
r141418f re4ba301 2 2 export PATH=/bin:/sbin:/usr/bin:/usr/sbin 3 3 mount none /proc -t proc 4 5 [ -f /etc/preinit.arch ] && . /etc/preinit.arch 6 [ -z "$FAILSAFE" ] || { 7 echo /bin/true > /proc/sys/kernel/hotplug 8 telnetd -l /bin/login <> /dev/null 2>&1 9 } 4 [ -f /etc/preinit.arch ] && /etc/preinit.arch 5 failsafe 6 insmod mini_fo 2>&- 10 7 mount_root ${FAILSAFE:+failsafe} 11 8 exec /sbin/init -
package/base-files/default/etc/profile
r141418f re4ba301 8 8 [ -x /usr/bin/vim ] || alias vim=vi 9 9 10 arp() { cat /proc/net/arp; }11 ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }10 [ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; } 11 [ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } 12 12 reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; } -
package/base-files/default/sbin/mount_root
r141418f re4ba301 25 25 echo "switching to jffs2" 26 26 mount /dev/mtdblock/4 /jffs -t jffs2 27 pivot /jffs /rom27 fopivot /jffs /rom 28 28 } || { 29 29 echo "jffs2 unusable; using ramdisk" -
target/linux/image/Makefile
r141418f re4ba301 40 40 find $(KDIR)/root -type f -perm -0100 | xargs chmod 0755 41 41 find $(KDIR)/root -type d | xargs chmod 0755 42 chmod 47 75 $(KDIR)/root/bin/busybox42 chmod 4755 $(KDIR)/root/bin/busybox 43 43 mkdir -p $(KDIR)/root/tmp 44 44 chmod 0777 $(KDIR)/root/tmp
Note:
See TracChangeset
for help on using the changeset viewer.
