annotate host/macos/removeStartupScripts.sh @ 1699:e6750146faa1

no restart on backup
author Vadim Filimonov <fffilimonov@yandex.ru>
date Tue, 28 Jun 2022 16:13:37 +0300
parents fd3d56f39450
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1631
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
1 #!/bin/bash
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
2
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
3 . startupScripts.sh;
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
4
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
5 cd $localStartup;
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
6
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
7 for file in *.plist; do
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
8 sudo rm ${systemStarup}/${file};
1633
665049cffc02 fix path
fffilimonov
parents: 1632
diff changeset
9 sudo rm $file;
1631
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
10 done;