blob: 9f2db5cb3858841e7c9fae111645778dfbc2d8de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
#
# $NetBSD: upclient.sh,v 1.6 2002/09/23 15:24:13 grant Exp $
#
pidfile=/var/run/upclient.pid
if [ "$1" = "stop" ]; then
kill `cat $pidfile`
else
if [ -x @PREFIX@/bin/upclient ]
then
@INSTALL@ -o nobody -m 644 /dev/null $pidfile
@SU@ -m nobody -c @PREFIX@/bin/upclient
echo -n ' upclient'
fi
fi
|