Commit 54393b51 authored by Vitaly Lipatov's avatar Vitaly Lipatov

serv-enable: assure chkconfig add

parent 4ed6a836
......@@ -27,7 +27,10 @@ serv_enable()
is_service_autostart $1 && echo "Service $1 already enabled for startup" && return
case $SERVICETYPE in
service-chkconfig|service-upstart)
service-chkconfig)
sudocmd chkconfig --add $1
;;
service-upstart)
sudocmd chkconfig $1 on
;;
service-initd|service-update)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment