#------------------------------------------------------------------------------ # /etc/rc.d/rc900.mtools - prepare mtools for fli4l __FLI4LVER__ # # Creation: 2005-12-03 abe # Last Update: $Id$ #------------------------------------------------------------------------------ case $OPT_MTOOLS in yes) begin_script MTOOLS "preparing mtools for fli4l ..." cd /usr/bin [ -f /usr/bin/mtools ] && { for nlinks in mattrib mbadblocks mcat mcd mclasserase mcopy mdel mdeltree mdir mdu mformat minfo mlabel mmd mmount mmove mpartition mrd mren mshowfat mtoolstest mtype mzip do ln -s mtools $nlinks done } cd / if [ -n "`dmesg | grep 'Floppy drive(s):'`" ] then if [ -z "`dmesg | grep 'Floppy drive(s): fd0 is unknown'`" ] then echo 'colecho "Please enter \c" gn' >> /.profile echo 'colecho "fdformat.sh\c" br x br' >> /.profile echo 'colecho "\c"' >> /.profile echo 'colecho " to format a 1680 floppy disk" gn' >> /.profile echo "echo" >> /.profile fi fi end_script ;; esac