1 |
wellsi |
1.1 |
diff -up e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.workstation-backup-df e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar |
2 |
|
|
--- e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.workstation-backup-df |
3 |
|
|
+++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar |
4 |
|
|
@@ -99,7 +99,7 @@ |
5 |
|
|
|
6 |
|
|
# mounting backup directory |
7 |
|
|
|
8 |
|
|
-$report .= "Mounting backup shared directory $smbhost/$smbshare \n"; |
9 |
|
|
+$report .= "Mounting backup shared directory <$smbhost:$smbshare>\n"; |
10 |
|
|
|
11 |
|
|
# ping the SMB Host to see if it is awake |
12 |
|
|
|
13 |
|
|
@@ -143,12 +143,12 @@ |
14 |
|
|
if ($VFSType eq 'cifs') |
15 |
|
|
{ |
16 |
|
|
$err = qx(/bin/mount -t cifs "$smbhost:$smbshare" $mntdir -o credentials=/etc/dar/CIFScredentials,nounix 2>&1); |
17 |
|
|
- ldie("Error while mounting $smbhost:$smbshare : \n" . $err) if $err; |
18 |
|
|
+ ldie("Error while mounting <$smbhost:$smbshare>\n" . $err) if $err; |
19 |
|
|
} |
20 |
|
|
elsif ($VFSType eq 'nfs') |
21 |
|
|
{ |
22 |
|
|
$err = qx(/bin/mount -t nfs -o nolock "$smbhost:/$smbshare" $mntdir 2>&1); |
23 |
|
|
- ldie("Error while mounting $smbhost:/$smbshare : \n" . $err) if $err; |
24 |
|
|
+ ldie("Error while mounting <$smbhost:/$smbshare>\n" . $err) if $err; |
25 |
|
|
} |
26 |
|
|
elsif ($VFSType eq 'usb') |
27 |
|
|
{ |
28 |
|
|
@@ -185,7 +185,7 @@ |
29 |
|
|
} |
30 |
|
|
else |
31 |
|
|
{ |
32 |
|
|
- ldie("Error while mounting $smbhost/$smbshare : $VFSType not supported.\n"); |
33 |
|
|
+ ldie("Error while mounting <$smbhost:$smbshare> $VFSType not supported.\n"); |
34 |
|
|
} |
35 |
|
|
$mntdone = 1; |
36 |
|
|
|