summaryrefslogtreecommitdiffstats
path: root/firewall_wizard/scripts/store_fwall.sh
blob: 80f6b1098c6dec04fea71e48728bbb1dfa9786ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# script for wizard firewall configuration
#
# store the value of device and security level in /etc/sysconfig/mdk_serv

file=/etc/sysconfig/mdk_serv

# store the external device value
dtmp=`echo ${wiz_ext_device} |sed -e 's/^\(\w*\).*$/\1/'`
chg_val ${file} wiz_ext_device ${dtmp}

# store the security level
chg_val ${file} wiz_firewall_level ${wiz_firewall_level}

exit 0