From 30de46f6a50ccf55753709d7a3e90921fd548159 Mon Sep 17 00:00:00 2001 From: zacheiss Date: Mon, 16 Nov 2009 22:58:31 +0000 Subject: [PATCH] No LDAP, stop CUPS sooner. --- gen/cups-cluster.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gen/cups-cluster.sh b/gen/cups-cluster.sh index 0dae72bb..a2aa1ebb 100755 --- a/gen/cups-cluster.sh +++ b/gen/cups-cluster.sh @@ -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 -- 2.45.1