some modification on instpkg
[cmdllinux.git] / scripts / manage / ls_svcs.sh
blobbf8e3a7d8a2b3a6f2903f5a27a2acda4f48b0f95
1 find /etc/runlevels -maxdepth 1 -type l | sort | while read svc; do
2 echo "${svc##*/}"
3 rc-service ${svc##*/} status
4 done