mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-11 23:25:17 +00:00
6a4c5a5acd
^^^^^^
10 lines
295 B
Bash
10 lines
295 B
Bash
#!/bin/sh
|
|
if [ $# -eq 0 -o x$1 = xstart ]; then
|
|
if [ -x !!PREFIX!!/news/bin/rc.news -a -f !!PREFIX!!/news/db/history.pag ]; then
|
|
limits -C news !!PREFIX!!/news/bin/rc.news && echo ' inn'
|
|
fi
|
|
fi
|
|
if [ x$1 = xstop ]; then
|
|
!!PREFIX!!/news/bin/ctlinnd shutdown machine is going down
|
|
fi
|