summaryrefslogtreecommitdiff
path: root/community/arptables/arptables.systemd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-25 00:06:28 -0800
committerroot <root@rshg054.dnsready.net>2013-01-25 00:06:28 -0800
commitef71629a65f6e8052d66775f07b079bf08322476 (patch)
treeedd2ad98fa5697fc7a95e3eed0a8902656e55fde /community/arptables/arptables.systemd
parent570e3637e2a4ba372dabbbbb8953d7b4ccdcaa39 (diff)
Fri Jan 25 00:06:28 PST 2013
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)