Initial Chef repository

This commit is contained in:
Greg Karékinian
2015-07-21 19:45:23 +02:00
parent 7e5401fc71
commit ee4079fa85
1151 changed files with 185163 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
# if we're on SunOS 5.10+, we should check for beat services.
if [ "`uname -s`" = "SunOS" ] && [ `uname -r|cut -d. -f1` -ge 5 ] && [ `uname -r|cut -d. -f2` -ge 10 ]
then
B=`svcs -Ha |egrep -v "disabled|online|legacy_run"`
if [ "foo$B" == "foo" ]
then
echo "OK"
else
echo $B
fi
fi

View File

@@ -0,0 +1 @@
extend SMFServicesOK /opt/scripts/SMFServicesOK.sh