- Timestamp:
- Mar 2, 2010 1:32:48 PM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 0ac1934
- Parents:
- 6f82229
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/federate.pl
r6f82229 r37f6592 129 129 if ($uname =~ /FreeBSD/ ) { 130 130 system("umount -A -f -t nfs,smbfs,cifs"); 131 # Restart ntp132 system("/etc/rc.d/ntpd stop; /usr/sbin/ntpdate boss; " .133 "/etc/rc.d/ntpd start;");134 135 131 } 136 132 elsif ($uname =~ /Linux/ ) { … … 143 139 system("umount -f $F[1]"); 144 140 } 145 # restart ntp146 system("/etc/rc.d/init.d/ntpd stop; /usr/sbin/ntpdate boss; ".147 "/etc/rc.d/init.d/ntpd start");148 141 } 149 142 … … 154 147 system("$perl /usr/local/federation/bin/$smbmount $smbshare $gateway " . 155 148 "$smbuser $smbproject"); 149 } 150 151 if ($uname =~ /FreeBSD/ ) { 152 # Restart ntp 153 system("/etc/rc.d/ntpd stop; /usr/sbin/ntpdate boss; " . 154 "/etc/rc.d/ntpd start;"); 155 156 } 157 elsif ($uname =~ /Linux/ ) { 158 # restart ntp 159 system("/etc/rc.d/init.d/ntpd stop; /usr/sbin/ntpdate boss; ". 160 "/etc/rc.d/init.d/ntpd start"); 156 161 } 157 162
Note: See TracChangeset
for help on using the changeset viewer.