mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
get_config.sh : download list from config
This commit is contained in:
10
ipset/get_config.sh
Executable file
10
ipset/get_config.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# run script specified in config
|
||||
|
||||
SCRIPT=$(readlink -f $0)
|
||||
EXEDIR=$(dirname $SCRIPT)
|
||||
|
||||
. "$EXEDIR/../config"
|
||||
|
||||
[ -z "$GETLIST" ] && return
|
||||
[ -x "$EXEDIR/$GETLIST" ] && "$EXEDIR/$GETLIST"
|
Reference in New Issue
Block a user