Random Project

basename & utils.sh

If you get
./check_smb_share: line 11: ./utils.sh: No such file or directory
then you have to move the script to the Nagios libexec dir, because it uses the utils.sh from there
Or you change the Progpath on line 8 manually

I had to change Line 7 from
PROGNAME=`/bin/basename $0`
to
PROGNAME=`/usr/bin/basename $0`