freebsd-ports/net-mgmt/triton-guesttools/files/patch-etc_rc.d_triton
2017-11-15 22:43:20 +00:00

22 lines
337 B
Text

--- etc/rc.d/triton.orig 2017-05-22 19:41:07 UTC
+++ etc/rc.d/triton
@@ -7,16 +7,18 @@
. /etc/rc.subr
name="triton"
+rcvar=triton_enable
start_cmd="${name}_start"
stop_cmd=":"
load_rc_config $name
+: ${triton_enable:=NO}
triton_start()
{
- /lib/smartdc/triton
+ %%PREFIX%%/lib/smartdc/triton
}
run_rc_command "$1"