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
|
||||
@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
|
||||
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
* )
|
||||
|
|
Loading…
Reference in a new issue