#this will clean up the old static initscripts and make them symlinks!

if [ -e "/etc/rc0.d/K00cups" ]; then
   rm -f "/etc/rc0.d/K00cups"
fi &&

if [ -e "/etc/rc2.d/S99cups" ]; then
   rm -f "/etc/rc2.d/S99cups"
fi &&

if [ -e "/etc/rc3.d/S99cups" ]; then
   rm -f "/etc/rc3.d/S99cups"
fi &&

if [ -e "/etc/rc5.d/S99cups" ]; then
   rm -f "/etc/rc5.d/S99cups"
fi &&

chkconfig --level 06 cups off &&
chkconfig --level 235 cups on

/etc/init.d/cups  start
