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