Sample Base Start Script for the kitche Service

#!/bin/ksh
#
# /var/adm/ues/bin/kitche_start.ksh
#
#
# Check to ensure a few links are in place for various account scripts
#
if [ ! -d /share/kitche/usr ]; then
	/sbin/mkdir -p /share/kitche/usr
fi
if [ ! -L /share/kitche/usr/staff1 ]; then
        /sbin/ln -s /usr/var/ase/mnt/kitche/share/kitche/usr/staff1 /share/kitche/usr/staff1
fi
if [ ! -L /share/kitche/usr/staff2 ]; then
        /sbin/ln -s /usr/var/ase/mnt/kitche/share/kitche/usr/staff2 /share/kitche/usr/staff2
fi
if [ ! -L /share/kitche/usr/staff3 ]; then
        /sbin/ln -s /usr/var/ase/mnt/kitche/share/kitche/usr/staff3 /share/kitche/usr/staff3
fi
if [ ! -L /share/kitche/usr/staff4 ]; then
        /sbin/ln -s /usr/var/ase/mnt/kitche/share/kitche/usr/staff4 /share/kitche/usr/staff4
fi

if [ -x /var/adm/ues/bin/kitche_start_printers.pl ]; then
	/var/adm/ues/bin/kitche_start_printers.pl &
else
	echo "Couldn't run /var/adm/ues/bin/kitche_start_printers.pl"
fi

if [ -x /var/adm/ues/bin/kitche_start_sendmail.pl ]; then
	/var/adm/ues/bin/kitche_start_sendmail.pl &
else
	echo "Couldn't run /var/adm/ues/bin/kitche_start_sendmail.pl"
fi

if [ -x /var/adm/ues/bin/kitche_start_asdu.pl ]; then
	/var/adm/ues/bin/kitche_start_asdu.pl &
else
	echo "Couldn't run /var/adm/ues/bin/kitche_start_asdu.pl"
fi