summaryrefslogtreecommitdiff
path: root/community/ipset/ipset.systemd
diff options
context:
space:
mode:
Diffstat (limited to 'community/ipset/ipset.systemd')
-rw-r--r--community/ipset/ipset.systemd3
1 files changed, 1 insertions, 2 deletions
diff --git a/community/ipset/ipset.systemd b/community/ipset/ipset.systemd
index 92397f3a7..c28086322 100644
--- a/community/ipset/ipset.systemd
+++ b/community/ipset/ipset.systemd
@@ -1,13 +1,12 @@
#!/bin/bash
-. /etc/conf.d/ipset
+CONFIG_FILE='/etc/ipset.conf'
case $1 in
start)
ipset restore < "$CONFIG_FILE"
;;
stop)
- [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save
ipset destroy
;;
save)