1 2 3
if [ $1 -eq 1 ]; then /sbin/chkconfig --add consolelocker fi
if [ $1 -eq 0 ]; then /sbin/chkconfig --del consolelocker fi