Svc-zhostid

Page last edited hace 2059 días 13 horas
De Solaris-ES
Saltar a: navegación, buscar
#!/sbin/sh

. /lib/svc/share/smf_include.sh

#svccfg -s svc:/site/zhostid setprop general/hostid="12345678"
#svcadm refresh zhostid:default

ZBIN=/usr/local/sbin/zhostid

if [ ! -x $ZBIN ]; then
   echo "$ZBIN not found. Not starting zhostid"
   exit $SMF_EXIT_ERR_CONFIG
fi

${ZBIN} &