X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-iptables;h=e6f05fd82b283d833ed74bd807fa51490ebc8c96;hb=2f337c932e5c659d31b4860d4414dde540cb74bb;hp=5b5587a73b7e8014b1bfed4cd49c899cb6c9b53e;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage3/cis-iptables b/stage3/cis-iptables index 5b5587a..e6f05fd 100755 --- a/stage3/cis-iptables +++ b/stage3/cis-iptables @@ -6,20 +6,17 @@ source ../sysinfos source ../functions source ../packages-list -CUR_DIR=$(pwd) - # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} -cd ${LFS_TMP}/${1} && -make PREFIX=/usr && -make PREFIX=/usr install && +cd ${LFS_TMP}/${1} +make PREFIX=/usr +make PREFIX=/usr install # Firewall boot script -install -v -m740 ${CUR_DIR}/bootscripts/firewall /etc/rc.d/init.d && +install -v -m740 ${SCRDIR}/bootscripts/firewall /etc/rc.d/init.d # script-name start stop bootscript_add_rc3 firewall 35 55 -# Return last error exit $?