diff --git a/Shorewall-init/default.debian.systemd b/Shorewall-init/default.debian.systemd new file mode 100644 index 000000000..69f8e4f15 --- /dev/null +++ b/Shorewall-init/default.debian.systemd @@ -0,0 +1,21 @@ +# List the Shorewall products that Shorewall-init is to +# initialize (space-separated list). +# +# Sample: PRODUCTS="shorewall shorewall6" +# +PRODUCTS="" + +# +# Set this to 1 if you want Shorewall-init to react to +# ifup/ifdown and NetworkManager events +# +IFUPDOWN=0 +# +# Where Up/Down events get logged +# +LOGFILE=/var/log/shorewall-ifupdown.log + +# Startup options - set verbosity to 0 (minimal reporting) +OPTIONS="-V0" + +# IOF diff --git a/Shorewall-init/default.debian.sysvinit b/Shorewall-init/default.debian.sysvinit new file mode 100644 index 000000000..3ed139f44 --- /dev/null +++ b/Shorewall-init/default.debian.sysvinit @@ -0,0 +1,27 @@ +# List the Shorewall products that Shorewall-init is to +# initialize (space-separated list). +# +# Sample: PRODUCTS="shorewall shorewall6" +# +PRODUCTS="" + +# +# Set this to 1 if you want Shorewall-init to react to +# ifup/ifdown and NetworkManager events +# +IFUPDOWN=0 +# +# Set this to the name of the file that is to hold +# ipset contents. Shorewall-init will load those ipsets +# during 'start' and will save them there during 'stop'. +# +SAVE_IPSETS="" +# +# Where Up/Down events get logged +# +LOGFILE=/var/log/shorewall-ifupdown.log + +# Startup options - set verbosity to 0 (minimal reporting) +OPTIONS="-V0" + +# IOF diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh index d89dbc3b6..ce9ab3173 100755 --- a/Shorewall-init/install.sh +++ b/Shorewall-init/install.sh @@ -361,8 +361,8 @@ if [ $HOST = debian ]; then [ -n "${DESTDIR}" ] && make_parent_directory ${DESTDIR}${ETC}/default 0755 [ $configure -eq 1 ] || make_parent_directory ${DESTDIR}${CONFDIR}/default 0755 - install_file sysconfig ${DESTDIR}${ETC}/default/$PRODUCT 0644 - echo "sysconfig file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}" + install_file ${SYSCONFFILE} ${DESTDIR}${ETC}/default/$PRODUCT 0644 + echo "${SYSCONFFILE} file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}" fi IFUPDOWN=ifupdown.debian.sh