if [ $1 = "0" ];then # APP=%{name} => doesn't work APP=slc /sbin/chkconfig --del $APP userdel $APP fi