bkruse: branch aadk r597 - /branches/aadk/scripts/networking.sh

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Apr 3 15:25:02 MST 2007


Author: bkruse
Date: Tue Apr  3 17:25:01 2007
New Revision: 597

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=597
Log:
Fixed the bash script to follow the new gui rules about where the networking parameters come from

Modified:
    branches/aadk/scripts/networking.sh

Modified: branches/aadk/scripts/networking.sh
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/scripts/networking.sh?view=diff&rev=597&r1=596&r2=597
==============================================================================
--- branches/aadk/scripts/networking.sh (original)
+++ branches/aadk/scripts/networking.sh Tue Apr  3 17:25:01 2007
@@ -4,8 +4,8 @@
 # ##############################################################
 # This is a bash script to apply network settings from the GUI.#
 ################################################################
-ARG_FILE=$1
-. $ARG_FILE 	# Include the file passed to us.
+ARG_FILE="/etc/asterisk/scripts/network.params"
+. $ARG_FILE 	# Include the file that has the variables in it, written from the GUI.
 WAN_INTERFACE="eth0"
 LAN_INTERFACE="eth1"
 DNS_CONFIG="/etc/config/resolv.conf"



More information about the asterisk-gui-commits mailing list