blob: b7a64616a304d669a25d1ced0e3d0a55c3ff1f60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#
# This file belongs in /lib/svc/method
. /lib/svc/share/smf_include.sh
ACTION="$1"
test "x$ACTION" = x && exit $SMF_EXIT_ERR_CONFIG
test "x$ACTION" = xrefresh && ACTION="reload"
if test "x$ACTION" = xmanifest; then
echo "/var/svc/manifest/site/bcfg2-server.xml"
exit $SMF_EXIT_OK;
fi
/etc/init.d/bcfg2-server $ACTION
RC=$?
test $RC == 0 && exit $SMF_EXIT_OK
exit $SMF_EXIT_ERR_FATAL
|