annotate host/startup/startLuanhost.sh @ 1631:35c626c06dd5

add startup scripts for mac os
author fffilimonov
date Mon, 13 Dec 2021 09:14:52 +0000
parents
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 set -eu
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 "$1";
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
6
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
7 #can't determine if network is available at startup
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
8 sleep 60;
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
9
35c626c06dd5 add startup scripts for mac os
fffilimonov
parents:
diff changeset
10 ./start.sh "launchd";