blob: 974c05097bf937d0b2940b33b1be0b87e81eda4e (
plain) (
tree)
|
|
#!/bin/sh
# 20230211 bkw: Very dumb/simple rc script for tetrinetx, part
# of the SBo build.
case "$1" in
'start'|'')
su - games -s /bin/sh -c /usr/games/tetrinetx
;;
'stop')
killall tetrinetx
;;
'restart')
$0 stop
sleep 1
exec $0 start
;;
*) echo "usage: $0 start|stop|restart" ; exit 1 ;;
esac
|