5 echo -n "Setting hostname:"
6 [ -x ${PROGRAM} ] ||
(echo " missing"; exit 0)
8 if [ -f /etc
/hostname
]; then
9 HOST
="$(cat /etc/hostname)"
11 HOST
="localhost.localdomain"
15 if ${PROGRAM} "${HOST}" > /dev
/null
2> /dev
/null
; then
43 echo $
"Usage: $0 {start|stop|restart}"