aboutsummaryrefslogtreecommitdiff
path: root/news/diablo/scripts/diablo.sh-sample
blob: 4d00b4dd3571eb2a1c2d8746cdc0961d7c7293ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

case $1 in
start)
	if [ -x %%PREFIX%%/news/rc.news ] ; then
	    %%PREFIX%%/news/rc.news && echo -n ' diablo'
	fi
	;;
stop)
	;;
*)
	echo "Usage: `basename $0` {start|stop}" >&2
	exit 64
	;;
esac

exit 0