]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - tools/testosx
Load cups into easysw/current.
[thirdparty/cups.git] / tools / testosx
index 655853a3b38fa042abcca39620f091d352f9b826..2c0715e1fa1363c702596625ae15926e6bec444a 100755 (executable)
@@ -45,12 +45,15 @@ if test -x /bin/launchctl; then
        cat >$pkgdir/Resources/postflight <<EOF
 #!/bin/sh
 
-# Remove old startup item, we use launchd now...
+# Remove old startup item and xinetd config file, we use launchd now...
 rm -f /System/Library/StartupItems/PrintingServices/PrintingServices
+rm -f /etc/xinetd.d/cups-lpd
 
 # Tell launchd to reload cupsd...
 launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist || exit 0
+launchctl unload /System/Library/LaunchDaemons/org.cups.cups-lpd.plist || exit 0
 launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist
+launchctl load /System/Library/LaunchDaemons/org.cups.cupsd-lpd.plist
 EOF
 else
        cat >$pkgdir/Resources/postflight <<EOF