opensim-tools

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 45  →  ?path2? @ 46
/lib/configure-spectacled-owl
@@ -23,6 +23,7 @@
dialog --yesno "The Spectacled Owl can be configured to support voice via Vivox (http://support.vivox.com/opensim/). If you wish to configure voice, you need to visit the Vivox website and request a username and a password. if you have received the settings from Vivox, would you like to configure voice now?" 10 70
if [ $? == "0" ]; then
USERNAME=`cat OpenSim.ini | grep vivox_admin_user | awk -F"[ \t]*[=][ \t]*" '{ print $2 }'`
if [ ! -z $USERNAME ]; then
TMP=`date +%s | sha1sum | awk '{ print $1 }'`
dialog --inputbox "Please enter your Vivox admin user: " 10 70 $USER 2> $TMP
if [ $? == "0" ]; then
@@ -31,7 +32,9 @@
OpenSim.ini;
fi
rm $TMP 2>/dev/null
fi
PASSWORD=`cat OpenSim.ini | grep vivox_admin_password | awk -F"[ \t]*[=][ \t]*" '{ print $2 }'`
if [ ! -z $PASSWORD ]; then
TMP=`date +%s | sha1sum | awk '{ print $1 }'`
dialog --inputbox "Please enter your Vivox admin passsword: " 10 70 $PASS 2> $TMP
if [ $? == "0" ]; then
@@ -41,5 +44,6 @@
fi
rm $TMP 2>/dev/null
fi
fi
rm $TMP 2>/dev/null
popd