diff options
Diffstat (limited to 'net/openvswitch/files/ovs-vswitchd.in')
-rw-r--r-- | net/openvswitch/files/ovs-vswitchd.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/openvswitch/files/ovs-vswitchd.in b/net/openvswitch/files/ovs-vswitchd.in index 0ef893fb0842..250425ef8d6b 100644 --- a/net/openvswitch/files/ovs-vswitchd.in +++ b/net/openvswitch/files/ovs-vswitchd.in @@ -11,19 +11,17 @@ name="ovs_vswitchd" rcvar=ovs_vswitchd_enable -command="%%PREFIX%%/sbin/ovs-vswitchd" -pidfile="%%PREFIX%%/var/run/ovs-vswitchd.pid" +command="/usr/local/sbin/ovs-vswitchd" start_precmd="ovs_vswitchd_precmd" load_rc_config $name : ${ovs_vswitchd_enable="NO"} -: ${ovsdb_server_sock="%%PREFIX%%/var/run/openvswitch/db.sock"} ovs_vswitchd_precmd() { load_kld if_tap || return 1 } -command_args="--detach --pidfile=$pidfile unix:$ovsdb_server_sock" +command_args="--detach --pidfile" run_rc_command "$1" |