Mercurial Hosting > luan
comparison host/macos/startupScripts.sh @ 2062:5ede71739221
merge branches
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Sat, 15 Nov 2025 18:07:51 -0700 |
| parents | dd10659fcdb9 |
| children |
comparison
equal
deleted
inserted
replaced
| 2047:ea026254b3b6 | 2062:5ede71739221 |
|---|---|
| 11 function addStartup() { | 11 function addStartup() { |
| 12 cd $localStartup; | 12 cd $localStartup; |
| 13 for file in *.plist; do | 13 for file in *.plist; do |
| 14 sudo ln -sf ${localStartup}/${file} ${systemStarup}/${file}; | 14 sudo ln -sf ${localStartup}/${file} ${systemStarup}/${file}; |
| 15 sudo chown root:wheel ${localStartup}/${file}; | 15 sudo chown root:wheel ${localStartup}/${file}; |
| 16 sudo launchctl unload ${systemStarup}/${file}; | |
| 17 sudo launchctl load ${systemStarup}/${file}; | |
| 16 done; | 18 done; |
| 17 } | 19 } |
