opensim-tools
/lib/upgrade-spectacled-owl |
@@ -59,12 +59,13 @@ |
cp lib/iardumper /etc/cron.daily/iardumper |
fi |
fi |
if [ -x lib/firewall ]; then |
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 |
if [ -x lib/firewall ] && [ $? == "0" ]; then |
if [ $? == "0" ]; then |
echo "[SpectacledOwl] Applying firewall..." |
lib/firewall |
fi |
fi |
echo "[SpectacledOwl] Restarting SpectacledOwl." |
kill -s HUP `pidof mono` |
echo "[SpectacledOwl] Done." |
|