diff --git a/net-mgmt/hobbit-client/Makefile b/net-mgmt/hobbit-client/Makefile index 6c0009b83d60..1a071dbb82c0 100644 --- a/net-mgmt/hobbit-client/Makefile +++ b/net-mgmt/hobbit-client/Makefile @@ -7,7 +7,7 @@ PORTNAME= hobbit PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hobbitmon diff --git a/net-mgmt/hobbit-client/files/hobbit-client.sh.in b/net-mgmt/hobbit-client/files/hobbit-client.sh.in index 38c480c247e7..865eecc168cc 100644 --- a/net-mgmt/hobbit-client/files/hobbit-client.sh.in +++ b/net-mgmt/hobbit-client/files/hobbit-client.sh.in @@ -13,12 +13,13 @@ rcvar=`set_rcvar` load_rc_config "$name" : ${hobbit_client_enable:="NO"} +: ${hobbit_client_flags:=""} command="%%PREFIX%%/www/hobbit/client/runclient.sh" -start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh start" -stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh stop" -status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh status" -reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh restart" +start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} start" +stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} stop" +status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} status" +reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} restart" pidfile="%%PREFIX%%/www/hobbit/client/logs/clientlaunch.`hostname`.pid" run_rc_command "$1" diff --git a/net-mgmt/xymon-client/Makefile b/net-mgmt/xymon-client/Makefile index 6c0009b83d60..1a071dbb82c0 100644 --- a/net-mgmt/xymon-client/Makefile +++ b/net-mgmt/xymon-client/Makefile @@ -7,7 +7,7 @@ PORTNAME= hobbit PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hobbitmon diff --git a/net-mgmt/xymon-client/files/hobbit-client.sh.in b/net-mgmt/xymon-client/files/hobbit-client.sh.in index 38c480c247e7..865eecc168cc 100644 --- a/net-mgmt/xymon-client/files/hobbit-client.sh.in +++ b/net-mgmt/xymon-client/files/hobbit-client.sh.in @@ -13,12 +13,13 @@ rcvar=`set_rcvar` load_rc_config "$name" : ${hobbit_client_enable:="NO"} +: ${hobbit_client_flags:=""} command="%%PREFIX%%/www/hobbit/client/runclient.sh" -start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh start" -stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh stop" -status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh status" -reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh restart" +start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} start" +stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} stop" +status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} status" +reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} restart" pidfile="%%PREFIX%%/www/hobbit/client/logs/clientlaunch.`hostname`.pid" run_rc_command "$1"