misc/124066: [patch] net-mgmt/hobbit-client ability pass flags to startup script

falz me at falz.net
Wed May 28 14:10:01 UTC 2008


>Number:         124066
>Category:       misc
>Synopsis:       [patch] net-mgmt/hobbit-client ability pass flags to startup script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 28 14:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     falz
>Release:        6.2
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN hobbit-client.old/files/hobbit-client.sh.in hobbit-client/files/hobbit-client.sh.in
--- hobbit-client.old/files/hobbit-client.sh.in	Mon Jan 28 05:56:56 2008
+++ hobbit-client/files/hobbit-client.sh.in	Wed May 28 08:51:14 2008
@@ -13,9 +13,10 @@
 
 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"
+start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} 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"


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list