Lines Matching +full:additional +full:- +full:devs

3 # Copyright (c) 2006-2016 Devin Teske
62 # and non-NULL, initially highlight $default interface.
78 local dev devs if iflist= # Calculated below
80 f_device_find "" $DEVICE_TYPE_NETWORK devs
81 for dev in $devs; do
85 lo[0-9]*|ppp[0-9]*|sl[0-9]*) continue ;;
145 --title \"\$DIALOG_TITLE\" \
146 --backtitle \"\$DIALOG_BACKTITLE\" \
147 --hline \"\$hline\" \
148 --ok-label \"\$msg_ok\" \
149 --cancel-label \"\$msg_cancel\" \
150 --default-item \"\$defaultitem\" \
151 --menu \"\$prompt\" \
157 f_dialog_menutag_store -s "$menu_choice"
173 # Create a duplicate set of variables for change-tracking...
188 # - IP Address
189 # - Network subnet mask
190 # - Additional ifconfig(8) options
193 # changes effective because all three options must be specified at-once
205 [ -e "$( f_sysrc_get wpa_supplicant_conf_file )" ] &&
210 # Display configuration-edit menu
214 " # END-QUOTE
218 " # END-QUOTE
224 " # END-QUOTE
233 --title \"\$DIALOG_TITLE\" \
234 --backtitle \"\$DIALOG_BACKTITLE\" \
235 --hline \"\$hline\" \
236 --ok-label \"\$msg_ok\" \
237 --cancel-label \"\$msg_cancel\" \
238 --help-button \
239 --help-label \"\$msg_help\" \
240 ${USE_XDIALOG:+--help \"\"} \
241 --default-item \"\$defaultitem\" \
242 --menu \"\$prompt\" \
250 if [ $retval -eq $DIALOG_HELP ]; then
253 elif [ $retval -ne $DIALOG_OK ]; then
256 # Only update default-item on success
262 # input from the user and assign the newly-acquired values back
263 # to the ipaddr, netmask, and options variables for us to re-
272 # Proceed cautiously (confirm with the user) if/when NFS-
290 trap - SIGINT
291 ( # Execute within sub-shell to allow/catch Ctrl-C
308 if [ $retval -eq $DIALOG_OK ]; then
317 'hostname:-$(hostname)' )
323 [ $? -eq $DIALOG_OK ] && dhcp= ;;
325 [ $? -eq $DIALOG_OK -a "$_netmask" ] && dhcp= ;;
327 [ $? -eq $DIALOG_OK ] && dhcp= ;;
334 if [ "$ipaddr" != "$ipaddr_orig" -o \
335 "$netmask" != "$netmask_orig" -o \
336 "$options" != "$options_orig" -o \
364 if [ "$dr" = "NO" -o ! "$dr" ]; then
374 # DHCP on FreeBSD-8.x (normally lost as ifconfig(8)
376 # resolv.conf(5) by-default upon termination).
378 f_quietly cp -fp "$RESOLV_CONF" "$RESOLV_CONF.$$"
383 [ "$dr" -a "$dr" != "NO" ] &&
387 if cmp -s "$RESOLV_CONF" "$RESOLV_CONF.$$"; then
388 f_quietly rm -f "$RESOLV_CONF.$$"
390 f_quietly mv -f "$RESOLV_CONF.$$" "$RESOLV_CONF"