summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-08-30 16:09:13 +0000
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-08-30 16:09:13 +0000
commitd09495fadd23469999a64b1812ffb880bf4372de (patch)
treea6f43f6010b7194f777264b0b3659a6f244bc6bb /tools
parent8ca02f3c0539293422509d03219786fb6d7db48b (diff)
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@211 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testosx5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/testosx b/tools/testosx
index 655853a3b..2c0715e1f 100755
--- a/tools/testosx
+++ b/tools/testosx
@@ -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