13 lines
249 B
Bash
Executable File
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
|