splash-functions.inc renamed
This commit is contained in:
parent
ca0198b167
commit
24eef73728
3 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ install:
|
||||||
|
|
||||||
@# install binaries
|
@# install binaries
|
||||||
@mkdir -p $(DESTDIR)/usr/lib
|
@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
|
@mkdir -p $(DESTDIR)/usr/bin
|
||||||
@cp web-splash.sh $(DESTDIR)/usr/bin
|
@cp web-splash.sh $(DESTDIR)/usr/bin
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
set -ue
|
set -ue
|
||||||
|
|
||||||
. /etc/web-splash.conf
|
. /etc/web-splash.conf
|
||||||
. "$SPLASH_LIB/splash-functions.inc"
|
. "$SPLASH_LIB/web-splash-functions.inc"
|
||||||
|
|
||||||
|
|
||||||
# check for DEBUG mode
|
# check for DEBUG mode
|
||||||
|
@ -38,10 +38,10 @@ case "$ACTION" in
|
||||||
traffic )
|
traffic )
|
||||||
if [ $# -eq 1 ]
|
if [ $# -eq 1 ]
|
||||||
then get_IP_list | while read IP
|
then get_IP_list | while read IP
|
||||||
do echo "$IP `get_IP_traffic $IP`"
|
do echo "$IP `get_IP_traffic \"$IP\"`"
|
||||||
done
|
done
|
||||||
else IP="$2"
|
else IP="$2"
|
||||||
echo "$IP `get_IP_traffic $IP`"
|
get_IP_traffic "$IP"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
|
|
Loading…
Reference in a new issue