diff options
author | Eric Hameleers <alien@slackware.com> | 2021-12-20 14:56:53 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-12-20 14:56:53 +0100 |
commit | d17940bf4d2f7502d78b18eac380865c77e0444d (patch) | |
tree | 803fc420d640b73eac91e66c9af56608b6a18cd6 /make_slackware_live.sh | |
parent | 68ce32cdd4f154597014c4baa3e78361d8c10985 (diff) | |
download | liveslak-d17940bf4d2f7502d78b18eac380865c77e0444d.tar.gz liveslak-d17940bf4d2f7502d78b18eac380865c77e0444d.tar.xz |
Add an (optional) basic firewall configuration to setup2hd
The firewall will be configured and installed only when you use setup2hd
to install the Live OS to your hard drive.
The scripts are not particular to Slackware Live; you can easily copy
the resulting files /usr/sbin/myfwconfig, /etc/rc.d/rc.firewall
and /var/lib/pkgtools/setup/setup.firewall out of the installed system
and use them anywhere on a Slackware-compatible OS.
- The 'myfwconfig' script will ask a few simple questions and generate the
ipv4 and ipv6 configuration in /etc/firewall/.
- The 'rc.firewall' script will load/save its iptables/ip6tables
configuration from /etc/firewall/ files.
- The 'setup.firewall' script is a convenient way to call the firewall
configurator from pkgtools or during Slackware's installation to harddisk.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-x | make_slackware_live.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 8a1eacc..ce1aea3 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -2166,7 +2166,7 @@ if [ -f ${DEF_SL_PKGROOT}/../isolinux/initrd.img ]; then -e '/.\/var\/log\/setup\/$SCRIPT $T_PX $ROOT_DEVICE/i # Skip stuff that was taken care of by liveslak\nif [ -f $TMP/SeTlive ] && echo $SCRIPT |grep -qE "(make-bootdisk|mouse|setconsolefont|xwmconfig)"; then true; else' \ -e '/.\/var\/log\/setup\/$SCRIPT $T_PX $ROOT_DEVICE/a fi' # Add the Slackware Live HD installer scripts: - for USCRIPT in SeTuacct SeTudiskpart SeTumedia SeTupass SeTpasswd setup.liveslak setup.slackware ; do + for USCRIPT in SeTuacct SeTudiskpart SeTumedia SeTupass SeTpasswd SeTfirewall rc.firewall setup.liveslak setup.slackware ; do cat ${LIVE_TOOLDIR}/setup2hd/${USCRIPT}.tpl | sed \ -e "s/@DIRSUFFIX@/$DIRSUFFIX/g" \ -e "s/@DISTRO@/$DISTRO/g" \ |