From 63afdb8052b8665298c954327da50eacd8c6d6fb Mon Sep 17 00:00:00 2001 From: lars Date: Wed, 18 May 2005 16:21:54 +0000 Subject: [PATCH] note for GPL SPLASH_LIB setting added --- web-splash/splash-functions.inc | 7 +++++++ web-splash/web-splash.cgi | 6 ++++++ web-splash/web-splash.conf | 7 +++++++ web-splash/web-splash.sh | 8 +++++++- 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/web-splash/splash-functions.inc b/web-splash/splash-functions.inc index 8196581..56014dd 100644 --- a/web-splash/splash-functions.inc +++ b/web-splash/splash-functions.inc @@ -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 the rules from PREROUTING diff --git a/web-splash/web-splash.cgi b/web-splash/web-splash.cgi index 93377f0..8323538 100755 --- a/web-splash/web-splash.cgi +++ b/web-splash/web-splash.cgi @@ -1,4 +1,10 @@ #!/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 diff --git a/web-splash/web-splash.conf b/web-splash/web-splash.conf index db8be5b..4fb2ce6 100644 --- a/web-splash/web-splash.conf +++ b/web-splash/web-splash.conf @@ -1,4 +1,10 @@ # 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) IF_SRC=eth1 @@ -31,4 +37,5 @@ IPT=/sbin/iptables [ ! -x "$IPT" ] && IPT=/usr/sbin/iptables # path to the web-splash scripts +SPLASH_LIB=/usr/lib SPLASH_BIN=/usr/bin diff --git a/web-splash/web-splash.sh b/web-splash/web-splash.sh index 4fc1a58..a6dc7af 100755 --- a/web-splash/web-splash.sh +++ b/web-splash/web-splash.sh @@ -1,9 +1,15 @@ #!/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 . /etc/web-splash.conf -. "$SPLASH_BIN/splash-functions.inc" +. "$SPLASH_LIB/splash-functions.inc" ACTION="--help" [ $# -gt 0 ] && ACTION="$1"