note for GPL
SPLASH_LIB setting added
This commit is contained in:
parent
577c56c423
commit
63afdb8052
4 changed files with 27 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
# this skript is GPL software (http://www.fsf.org/licensing/licenses/gpl.html)
|
||||||
|
# suggestions and questions to: devel@sumpfralle.de
|
||||||
|
# homepage: https://systemausfall.org/toolforge/web-splash
|
||||||
|
#
|
||||||
|
# this file will be sourced by web-splash.sh
|
||||||
|
#
|
||||||
|
|
||||||
remove_old()
|
remove_old()
|
||||||
{
|
{
|
||||||
# remove the rules from PREROUTING
|
# remove the rules from PREROUTING
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# this skript is GPL software (http://www.fsf.org/licensing/licenses/gpl.html)
|
||||||
|
# suggestions and questions to: devel@sumpfralle.de
|
||||||
|
# homepage: https://systemausfall.org/toolforge/web-splash
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
. /etc/web-splash.conf
|
. /etc/web-splash.conf
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
# this file is not parsed, but simply sourced
|
# this file is not parsed, but simply sourced
|
||||||
|
#
|
||||||
|
# web-splash is GPL software (http://www.fsf.org/licensing/licenses/gpl.html)
|
||||||
|
# suggestions and questions to: devel@sumpfralle.de
|
||||||
|
# homepage: https://systemausfall.org/toolforge/web-splash
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
# the source interface (only these packets will be filtered)
|
# the source interface (only these packets will be filtered)
|
||||||
IF_SRC=eth1
|
IF_SRC=eth1
|
||||||
|
@ -31,4 +37,5 @@ IPT=/sbin/iptables
|
||||||
[ ! -x "$IPT" ] && IPT=/usr/sbin/iptables
|
[ ! -x "$IPT" ] && IPT=/usr/sbin/iptables
|
||||||
|
|
||||||
# path to the web-splash scripts
|
# path to the web-splash scripts
|
||||||
|
SPLASH_LIB=/usr/lib
|
||||||
SPLASH_BIN=/usr/bin
|
SPLASH_BIN=/usr/bin
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# this skript is GPL software (http://www.fsf.org/licensing/licenses/gpl.html)
|
||||||
|
# suggestions and questions to: devel@sumpfralle.de
|
||||||
|
# homepage: https://systemausfall.org/toolforge/web-splash
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
set -ue
|
set -ue
|
||||||
|
|
||||||
. /etc/web-splash.conf
|
. /etc/web-splash.conf
|
||||||
. "$SPLASH_BIN/splash-functions.inc"
|
. "$SPLASH_LIB/splash-functions.inc"
|
||||||
|
|
||||||
ACTION="--help"
|
ACTION="--help"
|
||||||
[ $# -gt 0 ] && ACTION="$1"
|
[ $# -gt 0 ] && ACTION="$1"
|
||||||
|
|
Loading…
Reference in a new issue