opensim-tools – Diff between revs 28 and 29
?pathlinks?
Rev 28 | Rev 29 | |||
---|---|---|---|---|
Line 57... | Line 57... | |||
57 | fi |
57 | fi |
|
58 | if [ -x lib/iardumper ]; then |
58 | if [ -x lib/iardumper ]; then |
|
59 | cp lib/iardumper /etc/cron.daily/iardumper |
59 | cp lib/iardumper /etc/cron.daily/iardumper |
|
60 | fi |
60 | fi |
|
61 | fi |
61 | fi |
|
- | 62 | if [ -x lib/firewall ]; then |
||
62 | dialog --yesno "Apply the latest firewall changes? The firewall rules can be found in the opensim-tools/lib/firewall file and consist of a rudiementary set of protections for the Spectacled Owl. If you have made changes to ports and are now managing the firewall by yourself, the safe choice is no. Otherwise, please select yes." 10 70 |
63 | dialog --yesno "Apply the latest firewall changes? The firewall rules can be found in the opensim-tools/lib/firewall file and consist of a rudiementary set of protections for the Spectacled Owl. If you have made changes to ports and are now managing the firewall by yourself, the safe choice is no. Otherwise, please select yes." 10 70 |
|
63 | if [ -x lib/firewall ] && [ $? == "0" ]; then |
64 | if [ $? == "0" ]; then |
|
64 | echo "[SpectacledOwl] Applying firewall..." |
65 | echo "[SpectacledOwl] Applying firewall..." |
|
65 | lib/firewall |
66 | lib/firewall |
|
66 | fi |
67 | fi |
|
- | 68 | fi |
||
67 | echo "[SpectacledOwl] Restarting SpectacledOwl." |
69 | echo "[SpectacledOwl] Restarting SpectacledOwl." |
|
68 | kill -s HUP `pidof mono` |
70 | kill -s HUP `pidof mono` |
|
69 | echo "[SpectacledOwl] Done." |
71 | echo "[SpectacledOwl] Done." |
|
70 | |
- |