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

13 lines
249 B
Bash
Executable File

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