blob: bdbeb0cbfe8e5693b08134cf694e2a1bdd0f69d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
if [ -x /usr/bin/smf_present ] && /usr/bin/smf_present; then
if [ "$1" = "remove" ]; then
temp=""
else
temp="-t"
fi
for s in #SERVICES#; do
case `svcstatus $s` in
online|offline) /usr/sbin/svcadm -v disable $temp -s $s;;
esac
done
fi
|