summaryrefslogtreecommitdiffstats
path: root/firewall_wizard/scripts/check_ext_device.sh
blob: c1fc0092d19a41a02d7d4f0ef06f1afaf56d77cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# script for wizard firewall configuration
#
# checking if the provided value is correct :
# strip the @, need at least a dot


dtmp=`echo ${wiz_ext_device} |sed -e 's/^\(\w*\).*$/\1/'`
if [ -z "${dtmp}" ] ;then
	echo_debug "wiz_ext_device is empty, should not."
	exit 1
fi

# all seems to be ok
exit 10