Displaying 1 result from an estimated 1 matches for "butarg".
Did you mean:
outarg
2004 Nov 23
0
[OT] *nix Server/Windows Client Tips and tricks
...2 share3"
BUSER=backupuser
BPASS=backuppassword
WEEKDAY=`date +%a`
echo Backup device is $TARGETDEV, backup mountpoint is $MOUNTPOINT, day is
$WEEKDAY.
echo Backup directories are: $BUSHARES
echo Backup will now continue.
echo Did Lacie dissapear on us again? Let\'s find out!
# set target
BUTARG=$MOUNTPOINT/$WEEKDAY
if (cat /proc/scsi/scsi | grep WD25 > /dev/null 2>&1); then
echo Lacie exists;
else
echo Lacie does not exist. Trying rescan.
/sbin/rescan-scsi-bus.sh > /dev/null 2>&1;
if (cat /proc/scsi/scsi | grep WD25 > /dev/null 2>&1); then
echo Lacie f...