macos: no more startupitems

if we're upgrading, a "cruft" startupitems script should just
be nuked.

FIXES 129601

Change-Id: Ic9295b19c893f154fd98a6ad1e5822c8b2ef44df
Reviewed-on: http://gerrit.openafs.org/4387
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Derrick Brashear 2011-04-01 12:17:13 -04:00
parent 53377153ec
commit 841c8022e3

View File

@ -29,6 +29,7 @@ fi
if [ -f /Library/StartupItems/OpenAFS/OpenAFS ]; then
/Library/StartupItems/OpenAFS/OpenAFS stop
rm /Library/StartupItems/OpenAFS/OpenAFS
else
if [ -f /Library/LaunchDaemons/org.openafs.filesystems.afs.plist ]; then
if ps ax | grep -v grep | grep $DAEMON > /dev/null