opensim-tools – Diff between revs 28 and 29
?pathlinks?
Rev 28 | Rev 29 | |||
---|---|---|---|---|
Line 39... | Line 39... | |||
39 | fi |
39 | fi |
|
40 | if [ -d ../opensim-www/ ]; then |
40 | if [ -d ../opensim-www/ ]; then |
|
41 | cd ../opensim-www/ |
41 | cd ../opensim-www/ |
|
42 | svn update |
42 | svn update |
|
43 | dialog --yesno "This option will update the Spectacled Owl's OpenSim website pages. These pages are the ones that you see when logging-in to the Spectacled Owl and allow the web-based management of the Spectacled Owl. If you have made changes to the pages located in /var/opensim-www, you should make a backup and say yes. Do you want to upgrade the Spectacled Owl website pages?" 10 70 |
43 | dialog --yesno "This option will update the Spectacled Owl's OpenSim website pages. These pages are the ones that you see when logging-in to the Spectacled Owl and allow the web-based management of the Spectacled Owl. If you have made changes to the pages located in /var/opensim-www, you should make a backup and say yes. Do you want to upgrade the Spectacled Owl website pages?" 10 70 |
|
44 | if [ $? == "0"]; then |
44 | if [ $? == "0" ]; then |
|
45 | echo "[SpectacledOwl] Updating website..." |
45 | echo "[SpectacledOwl] Updating website..." |
|
46 | cp -R * /var/www/ |
46 | cp -R * /var/www/ |
|
47 | chown -R www-data:www-data /var/opensim-www |
47 | chown -R www-data:www-data /var/opensim-www |
|
48 | service lighttpd restart |
48 | service lighttpd restart |
|
49 | fi |
49 | fi |
|
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 |
|
- | 67 | fi |
||
66 | 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 | |
- |