splash-functions.inc renamed

This commit is contained in:
lars 2005-05-18 17:59:14 +00:00
parent ca0198b167
commit 24eef73728
3 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ install:
@# install binaries
@mkdir -p $(DESTDIR)/usr/lib
@cp splash-functions.inc $(DESTDIR)/usr/lib
@cp web-splash-functions.inc $(DESTDIR)/usr/lib
@mkdir -p $(DESTDIR)/usr/bin
@cp web-splash.sh $(DESTDIR)/usr/bin

View file

@ -9,7 +9,7 @@
set -ue
. /etc/web-splash.conf
. "$SPLASH_LIB/splash-functions.inc"
. "$SPLASH_LIB/web-splash-functions.inc"
# check for DEBUG mode
@ -38,10 +38,10 @@ case "$ACTION" in
traffic )
if [ $# -eq 1 ]
then get_IP_list | while read IP
do echo "$IP `get_IP_traffic $IP`"
do echo "$IP `get_IP_traffic \"$IP\"`"
done
else IP="$2"
echo "$IP `get_IP_traffic $IP`"
get_IP_traffic "$IP"
fi
;;
* )