/[soft]/drakwizard/trunk/firewall_wizard/scripts/compute_ext_device.sh
ViewVC logotype

Contents of /drakwizard/trunk/firewall_wizard/scripts/compute_ext_device.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 486 - (show annotations) (download) (as text)
Tue Feb 8 00:14:32 2011 UTC (13 years, 2 months ago) by dmorgan
File MIME type: application/x-sh
File size: 314 byte(s)
Import cleaned drakwizard
1 #!/bin/bash
2 # script for wizard firewall configuration
3 #
4 # return on stdout the default value for network device
5
6
7 device=
8 file=/etc/sysconfig/network
9
10 [ -f ${file} ] && device=`get_val ${file} GATEWAYDEV`
11
12 [ -z "${device}" ] && device="ppp0"
13
14 echo_debug "proposed ext device : ${device}"
15
16 echo ${device}
17
18 exit 0
19

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30