Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
cb8215c8
Commit
cb8215c8
authored
Mar 05, 2002
by
Kirk Webb
Browse files
This file was omitted accidentally from the CVS tree, and is needed to start healthd on FreeBSD.
parent
affd3b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/freebsd/rc.healthd
0 → 100755
View file @
cb8215c8
#!/bin/sh
PREFIX
=
/etc/testbed
NODETYPE
=
`
${
PREFIX
}
/nodetype
`
case
"
$1
"
in
start
)
case
"
$NODETYPE
"
in
pc850
)
#
# Nothing special to do
#
;;
*
)
#
# Not supported
#
echo
"Health monitoring not supported on nodetype:
$NODETYPE
"
exit
1
;;
esac
[
-x
${
PREFIX
}
/healthd
]
\
&&
${
PREFIX
}
/healthd
-f
${
PREFIX
}
/healthd.conf
-S
-q
-p
boss 180
\
&&
echo
-n
' healthd'
;;
stop
)
/usr/bin/killall healthd
>
/dev/null 2>&1
&&
echo
-n
' healthd'
;;
reload
)
/usr/bin/killall
-HUP
healthd
>
/dev/null 2>&1
&&
echo
-n
' healthd'
;;
*
)
echo
""
echo
"Usage:
`
basename
$0
`
{ start | stop | reload }"
echo
""
exit
1
;;
esac
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment