Added bin/bash argument to plist. Don't unload system daemons, that was only necessary for mach_portal cleanup.
@@ -6,6 +6,7 @@
<string>0.reload</string>
<key>ProgramArguments</key>
<array>
+ <string>/bin/bash</string>
<string>/usr/libexec/reload</string>
</array>
<key>RunAtLoad</key>
@@ -1,11 +1,6 @@
#!/bin/sh
ls /etc/rc.d | while read a; do /etc/rc.d/$a; done
sleep 1
-launchctl unload $(ls /System/Library/LaunchDaemons/ | grep -v logd | grep -v fud | grep -v ReportCrash | while read a; do printf /System/Library/LaunchDaemons/$a\ ; done)
-launchctl unload /System/Library/NanoLaunchDaemons
-sleep 1
launchctl load /Library/LaunchDaemons
-launchctl load /System/Library/LaunchDaemons
-launchctl load /System/Library/NanoLaunchDaemons
exit 0