/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-workstation-backup-smbhost.patch
ViewVC logotype

Contents of /rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-workstation-backup-smbhost.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Jul 14 03:57:09 2013 UTC (11 years, 3 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-backup-2_2_0-77_el5_sme, e-smith-backup-2_2_0-78_el5_sme, e-smith-backup-2_2_0-79_el5_sme, e-smith-backup-2_2_0-85_el5_sme, e-smith-backup-2_2_0-75_el5_sme, e-smith-backup-2_2_0-81_el5_sme, e-smith-backup-2_2_0-76_el5_sme, e-smith-backup-2_2_0-80_el5_sme, e-smith-backup-2_2_0-86_el5_sme, e-smith-backup-2_2_0-83_el5_sme, e-smith-backup-2_2_0-82_el5_sme, e-smith-backup-2_2_0-88_el5_sme, e-smith-backup-2_2_0-74_el5_sme, e-smith-backup-2_2_0-84_el5_sme, e-smith-backup-2_2_0-87_el5_sme, HEAD
* Sat Jul 13 2013 Ian Wells <esmith@wellsi.com> 2.2.0-74.sme
- Workstation Backup, inconsistent formatting of host share name in messages
  by Dave Liquorice [SME: 7775]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed