/etc/cups/bin/gen-ppd.pl
/etc/init.d/cups restart
+
if [ $? != 0 ]; then
exit $MR_MKCRED
fi
+# if Samba-enabled, then restart it too to have it pick up
+# new definitions
+if [ -x /etc/init.d/smb ]; then
+ /etc/init.d/smb restart
+fi
+
# cleanup
test -f $TARFILE && rm -f $TARFILE
test -f $0 && rm -f $0