diff options
author | root <root@rshg054.dnsready.net> | 2013-02-04 00:06:56 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-04 00:06:56 -0800 |
commit | 3e78397cb031dee2b5874f1c0c9e4c9977f0dbb7 (patch) | |
tree | 13cd29450035c478b8a064e0ff16f5a10e3fced6 /community/ipvsadm/ipvsadm.systemd | |
parent | e363875b14479aa4c6ff12f3e4e7ed920df4e45f (diff) |
Mon Feb 4 00:06:56 PST 2013
Diffstat (limited to 'community/ipvsadm/ipvsadm.systemd')
-rw-r--r-- | community/ipvsadm/ipvsadm.systemd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/community/ipvsadm/ipvsadm.systemd b/community/ipvsadm/ipvsadm.systemd index 3b72bd3ef..c12e3a8ee 100644 --- a/community/ipvsadm/ipvsadm.systemd +++ b/community/ipvsadm/ipvsadm.systemd @@ -1,13 +1,12 @@ #!/bin/bash -. /etc/conf.d/ipvsadm +CONFIG_FILE='/etc/ipvsadm.conf' case $1 in start) ipvsadm-restore < "$CONFIG_FILE" ;; stop) - [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save ipvsadm -C ;; save) |