slitaz-tools view tinyutils/stopd @ rev 961

tazlocale: accept only existing locales, show locale description; translations: un-fuzzy already translated messages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 25 23:50:30 2015 +0200 (2015-11-25)
parents 5d80f6fdbdb7
children
line source
1 #!/bin/sh
2 #
3 # Stopd - Small wrapper to stop daemons on SliTaz.
4 #
6 . /lib/libtaz.sh
7 check_root
9 [ -z "$1" ] && echo "Usage: stopd [daemon]" && exit 0
11 if [ -x /etc/init.d/$1 ]; then
12 /etc/init.d/$1 stop
13 fi
15 exit 0