File indexing completed on 2024-04-14 05:42:48

0001 #!/bin/sh
0002 
0003 mode=$1
0004 archive=$2
0005 target=$3
0006 mountPoint=$4
0007 
0008 case "$mode" in
0009  "slice_init" )
0010     if [ "$mountPoint" != "" ]
0011     then
0012       mount /media/zip
0013       rm -f /media/zip/backup_2*.tar*
0014     fi
0015  ;;
0016 
0017  "slice_closed" )
0018  ;;
0019 
0020  "slice_finished" )
0021     if [ "$mountPoint" != "" ]
0022     then
0023       umount /media/zip
0024       eject /media/zip
0025     fi
0026  ;;
0027 esac