#!/bin/sh
if launchctl list | grep -q "com.apple.mobile.softwareupdated"; then
   launchctl stop com.apple.mobile.softwareupdated
   launchctl unload -w "/rootfs/System/Library/LaunchDaemons/com.apple.mobile.softwareupdated.plist"
   echo " Stop com.apple.mobile.softwareupdated "
fi

if launchctl list | grep -q "com.apple.OTATaskingAgent"; then
   launchctl stop com.apple.OTATaskingAgent
   launchctl unload -w "/rootfs/System/Library/LaunchDaemons/com.apple.OTATaskingAgent.plist"
   echo " Stop com.apple.OTATaskingAgent "
fi

if launchctl list | grep -q "com.apple.softwareupdateservicesd"; then
   launchctl stop com.apple.softwareupdateservicesd
   launchctl unload -w "/rootfs/System/Library/LaunchDaemons/com.apple.softwareupdateservicesd.plist"
   echo " Stop com.apple.softwareupdateservicesd "
fi


