blob: db74076fc925e980070d57749b9fc8ca837f8393 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
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
|