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
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