=================================================================== RCS file: /cvs/wpscripts/ztransfer/main.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- wpscripts/ztransfer/main.pl 2011/06/03 09:28:47 1.1 +++ wpscripts/ztransfer/main.pl 2011/06/03 11:03:41 1.2 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: main.pl,v 1.1 2011/06/03 09:28:47 yason Exp $ +# $Id: main.pl,v 1.2 2011/06/03 11:03:41 yason Exp $ use db; use send; use fileops; @@ -8,7 +8,7 @@ use hash; our $ZFILESERVER_IP = '192.168.12.2'; -our @ZMPOINTS = ('zV6', 'zV7', 'zV8'); +our @ZMPOINTS = ('rmt_maket'); our $mpoint; # according to manual of Perl's function system(), @@ -35,7 +35,7 @@ # Check mount table for remote mounts foreach $mpoint (@ZMPOINTS) { - if ( ! `/sbin/mount | /usr/bin/grep $mpoint`) + if ( ! `/bin/mount | /usr/bin/grep $mpoint`) { log::critical("$mpoint not mounted. I can't run without that one! EXITING"); # NOTREACHED