M7350/init_mss/start_mss
2024-09-09 08:57:42 +00:00

27 lines
378 B
Bash
Executable File

#! /bin/sh
set -e
case "$1" in
start)
echo -n "Starting atreset: "
start-stop-daemon -S -b -a /sbin/init_mss
echo "done"
;;
stop)
echo -n "Stopping atreset: "
start-stop-daemon -K -n init_mss
echo "done"
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage init_mss{ start | stop | restart }" >&2
exit 1
;;
esac
exit 0