1
0
mirror of https://github.com/bol-van/zapret.git synced 2025-05-06 22:02:58 +03:00
zapret/ipset/get_config.sh

11 lines
195 B
Bash
Executable File

#!/bin/sh
# run script specified in config
SCRIPT=$(readlink -f $0)
EXEDIR=$(dirname $SCRIPT)
. "$EXEDIR/../config"
[ -z "$GETLIST" ] && return
[ -x "$EXEDIR/$GETLIST" ] && "$EXEDIR/$GETLIST"