FreeBSD Bugzilla – Attachment 74603 Details for
Bug 107894
security/sguil-sensor, correct init script error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-sensor_agent.sh.in
patch-sensor_agent.sh.in (text/plain), 1023 bytes, created by
pauls
on 2007-01-14 01:10:16 UTC
(
hide
)
Description:
patch-sensor_agent.sh.in
Filename:
MIME Type:
Creator:
pauls
Created:
2007-01-14 01:10:16 UTC
Size:
1023 bytes
patch
obsolete
>--- sensor_agent.sh.in.orig Sun Jan 14 00:27:19 2007 >+++ sensor_agent.sh.in Sun Jan 14 00:32:08 2007 >@@ -20,27 +20,14 @@ > rcvar=`set_rcvar` > command="%%PREFIX%%/bin/%%SGUILDIR%%/sensor_agent.tcl" > procname="%%PREFIX%%/bin/tclsh8.4" >-check_process="${command} /bin/sh" >-stop_cmd="sensor_agent_stop" >+pidfile="/var/run/${name}.pid" >+check_pidfile="${pidfile} ${procname} /bin/sh" > > [ -z "$sensor_agent_enable" ] && sensor_agent_enable="NO" > [ -z "$sensor_agent_conf" ] && sensor_agent_conf="%%PREFIX%%/etc/sensor_agent.conf" > [ -z "$sensor_agent_flags" ] && sensor_agent_flags="-D" > > [ -n "$sensor_agent_conf" ] && sensor_agent_flags="$sensor_agent_flags -c $sensor_agent_conf" >- >-sensor_agent_stop() { >- if [ -z "${rc_pid}" ]; then >- echo "${name} not running?" >- else >- echo "Stopping ${name}" >- kill ${sig_stop} ${rc_pid} >- wait_for_pids ${rc_pid} >- if [ -f "/var/run/${name}.pid" ]; then >- `rm -f /var/run/${name}.pid` >- fi >- fi >-} > > load_rc_config $name > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 107894
: 74603