# Script to install GUI2 to IP04
-# (Original gui left intact)
+# Original gui left intact
+# New gui at 192.168.1.30/gui2/phones.html
# Developement Edition
# Ian Roberts
# Sept 2012
# check we are on an IP0x box
echo "must be root directory on IP0x"
echo ""
-
+cd /
# remove old copy if exists
ipkg install fping
+
# check extension.conf 60xx lines have mini_ext tags
+cp mini-asterisk-gui2/etc/asterisk/extensions.conf /etc/asterisk/extensions.conf
# check lighttpd installed
# check cgi support in lighttpd
-#Uncomment cgi support in /etc/lighttpd.conf
-#Restart lighttpd
+cp mini-asterisk-gui2/etc/lighttpd.conf /etc/lighttpd.conf
+
+# webserver index should point browser at gui2 login
+
+# restart the http server
+/etc/init.d/lighttpd stop
+/etc/init.d/lighttpd start
+
+
echo ""
echo "Point your browser at 192.168.1.30/gui2/phones.html"
2. Uncomment s_#cgi.assign.*_cgi.assign
3. Add in end bracket
then /etc/init.d/lighttpd restart
+
+ kiss. just copy the corrected conf file from the sourceforge archive.
2. install script fix :add mini_ext comments to 60xx numbers
------------------------------------------