]> andersk Git - moira.git/commitdiff
No LDAP, stop CUPS sooner.
authorzacheiss <zacheiss>
Mon, 16 Nov 2009 22:58:31 +0000 (22:58 +0000)
committerzacheiss <zacheiss>
Mon, 16 Nov 2009 22:58:31 +0000 (22:58 +0000)
gen/cups-cluster.sh

index 0dae72bbed69e757855dad10266f085662a78c9f..a2aa1ebb2976512b793c535675ebc6fbf8f61308 100755 (executable)
@@ -17,6 +17,8 @@ PATH=/bin
 TARFILE=/var/tmp/cups-cluster.out
 CUPSLOCAL=/etc/cups
 
+/etc/init.d/cups stop
+
 # Alert if the tar file or other needed files do not exist
 test -r $TARFILE || exit $MR_MISSINGFILE
 test -d $CUPSLOCAL || exit $MR_MISSINGFILE
@@ -26,12 +28,10 @@ test -d $CUPSLOCAL || exit $MR_MISSINGFILE
 cd /
 tar xf $TARFILE || exit $MR_TARERR
 
-/etc/cups/bin/sync_lpd_ldap.pl 2>/dev/null
-/etc/cups/bin/gen-ppd.pl 2>/dev/null
-
-/etc/init.d/cups stop
 /etc/init.d/cups start
 
+/etc/cups/bin/gen-ppd.pl 2>/dev/null
+
 # if Samba-enabled, then restart it too to have it pick up
 # new definitions
 if [ -x /etc/init.d/smb ]; then
This page took 0.061232 seconds and 5 git commands to generate.