|
@ -28,7 +28,7 @@ done |
|
|
echo "$SERVICE not found in /etc/init.d/ and /var/etc/init.d/" |
|
|
echo "$SERVICE not found in /etc/init.d/ and /var/etc/init.d/" |
|
|
SERVICES=$(for i in /etc/init.d/[^SK]* /var/etc/init.d/[^SK]*; do |
|
|
SERVICES=$(for i in /etc/init.d/[^SK]* /var/etc/init.d/[^SK]*; do |
|
|
echo "${i##*/}"; |
|
|
echo "${i##*/}"; |
|
|
done | sort -u | grep -v '^\(functions\|globals\|rcK\|rcS\|start\|start_neutrino\|\[\^SK\]\*\)$') |
|
|
done | sort -u | grep -v '^\(functions\|globals\|rc\|rcK\|rcS\|start_neutrino\|\[\^SK\]\*\)$') |
|
|
echo "available services:" |
|
|
echo "available services:" |
|
|
echo $SERVICES | xargs -n 1 echo " " |
|
|
echo $SERVICES | xargs -n 1 echo " " |
|
|
exit 1 |
|
|
exit 1 |
|
|