annotate backup/doc/autostart.txt @ 2028:2f43f84191c9
Remove restart.sh https://luanhost.luan.software/backup-restart-sh-td1557.html
| author |
Violet7 |
| date |
Thu, 30 Oct 2025 21:22:03 -0700 |
| parents |
45eaaf5146f3 |
| children |
|
| rev |
line source |
|
1693
|
1 Autostart macOS:
|
|
|
2
|
|
|
3 1) Disable Mac OS SIP
|
|
|
4 https://developer.apple.com/library/content/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html
|
|
|
5 Ask hosting support.
|
|
|
6
|
|
|
7 2) Disable buit-in firewall
|
|
|
8 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.pfctl.plist
|
|
|
9
|
|
|
10 3) Add plists (need sudo password)
|
|
|
11 cd macos
|
|
|
12 ./addStartupScripts.sh
|
|
|
13
|
|
|
14 If you need to remove plists use
|
|
|
15 cd macos
|
|
|
16 ./removeStartupScripts.sh
|