diff options
Diffstat (limited to 'community/ipvsadm/ipvsadm.rc')
-rw-r--r-- | community/ipvsadm/ipvsadm.rc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/community/ipvsadm/ipvsadm.rc b/community/ipvsadm/ipvsadm.rc index 91ed32e3b..5a9614106 100644 --- a/community/ipvsadm/ipvsadm.rc +++ b/community/ipvsadm/ipvsadm.rc @@ -7,7 +7,7 @@ case "$1" in start) stat_busy 'Loading IPVS table' - if [[ -f $IPVSADM_CONF ]] && /sbin/ipvsadm-restore < "$IPVSADM_CONF"; then + if [[ -f $IPVSADM_CONF ]] && ipvsadm-restore < "$IPVSADM_CONF"; then add_daemon ipvsadm stat_done else @@ -15,7 +15,7 @@ case "$1" in fi ;; stop) - status 'Clearing IPVS table' /sbin/ipvsadm -C + status 'Clearing IPVS table' ipvsadm -C rm_daemon ipvsadm ;; restart) @@ -25,7 +25,7 @@ case "$1" in ;; save) stat_busy 'Saving IPVS table' - if /sbin/ipvsadm-save -n > "$IPVSADM_CONF" 2>/dev/null; then + if ipvsadm-save -n > "$IPVSADM_CONF" 2>/dev/null; then stat_done else stat_fail |