1

Add original scripts

This commit is contained in:
eleksir
2016-09-04 22:20:40 +03:00
commit 8e3af042d2
128 changed files with 19003 additions and 0 deletions

28
cacd.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/sh
# For Administration
test -f /usr/bin/cacd || exit 0
case "$1" in
start)
echo -n "Start cacd:"
/sbin/daemon_mgr cacd start "/usr/bin/cacd &" 2>/dev/null > /dev/null
echo -n " cacd"
echo "."
;;
stop)
echo -n "Shutting down cacd:"
/sbin/daemon_mgr cacd stop /usr/bin/cacd 2>/dev/null > /dev/null
echo -n " cacd"
echo "."
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: /etc/init.d/cacd.sh {start|stop|restart}"
exit 1
esac
exit 0