slitaz-tools view tinyutils/startd @ rev 1004

tazbox: add logout menu handling, update pot/po files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 12 12:54:13 2016 +0200 (2016-11-12)
parents 5d80f6fdbdb7
children
line source
1 #!/bin/sh
2 #
3 # Startd - Small wrapper to start daemons on SliTaz.
4 #
6 . /lib/libtaz.sh
7 check_root
9 [ -z "$1" ] && echo "Usage: startd [daemon]" && exit 0
11 if [ -x /etc/init.d/$1 ]; then
12 /etc/init.d/$1 start
13 fi
15 exit 0