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 the rules from PREROUTING
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue