1 # TRC6500 specific mount sequence -*- shell-script -*-
7 ipconfig -t 90 -c dhcp eth1
9 mount -t ramfs /dev/ram0 ${rootmnt}
11 # download all tarballs
12 for f in $(echo ${tarballs} | sed 's/,/ /g'); do
13 log_begin_msg "download $f"
14 tftp -b 32764 -g -r $f ${tftpserver}
15 log_begin_msg "Extract $f into ${rootmnt}"
17 tar xzf $f -C ${rootmnt} || exec /bin/sh
21 # remove files predeced by tilde
22 for f in $(find ${rootmnt} -name '~*'); do
23 o=$(echo $f | sed 's/\/~/\//')
24 [ -f $o ] && rm -rf $o $f
27 # execute files predeced by plus
28 for f in $(find ${rootmnt} -name '+*'); do