Files
cdev-1.7.2n/sbin/rsvcServer.sh-
2022-12-13 12:44:04 +01:00

13 lines
247 B
Bash
Executable File

#!/bin/sh
[ -f `which rsvcServer` ] || exit 0
[ -f /var/log/cdevGateway.log ] || exit 0
if [ "`whoami`" = "nobody" ] ;then
export CDEV_NAME_SERVER=`hostname -s`
rsvcServer </dev/null >>/var/log/cdevGateway.log 2>&1 &
echo -n $!
fi
exit 0