X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=install%2Fcluster%2Fmaster%2Fetc%2Finitramfs-tools%2Fscripts%2Ftftp;fp=install%2Fcluster%2Fmaster%2Fetc%2Finitramfs-tools%2Fscripts%2Ftftp;h=0000000000000000000000000000000000000000;hb=3a30026aa30355dac5c5f9742da0fdba797701ea;hp=4e6caa0a850d67ab9fcbaa2c99da79f1c429edd2;hpb=7fa766f7c1562671a1b5db6f365f6ec4e847c309;p=debian6500.git diff --git a/install/cluster/master/etc/initramfs-tools/scripts/tftp b/install/cluster/master/etc/initramfs-tools/scripts/tftp deleted file mode 100644 index 4e6caa0..0000000 --- a/install/cluster/master/etc/initramfs-tools/scripts/tftp +++ /dev/null @@ -1,33 +0,0 @@ -# TRC6500 specific mount sequence -*- shell-script -*- - -mountroot () -{ - - # configure ethernet - ipconfig -c dhcp eth0 - ipconfig -c dhcp eth1 - - mount -t ramfs /dev/ram0 ${rootmnt} - - # download all tarballs - for f in $(echo ${tarballs} | sed 's/,/ /g'); do - log_begin_msg "download $f" - tftp -b 32764 -g -r $f ${tftpserver} - log_begin_msg "Extract $f into ${rootmnt}" - log_end_msg - tar xzf $f -C ${rootmnt} || exec /bin/sh - rm -f $f - done - - # remove files predeced by tilde - for f in $(find ${rootmnt} -name '~*'); do - o=$(echo $f | sed 's/\/~/\//') - [ -f $o ] && rm -rf $o $f - done - - # execute files predeced by plus - for f in $(find ${rootmnt} -name '+*'); do - [ -x $f ] && ./$f - [ -f $f ] && rm -f $f - done -}