--- files/atieventsd.rc6 2006-07-06 09:04:06.000000000 -0400 +++ files/atieventsd.rc6 2006-07-06 14:11:25.000000000 -0400 @@ -8,8 +8,10 @@ } start() { - start-stop-daemon --start pidfile /var/run/atieventsd.pid \ - --exec /opt/ati/sbin/atieventsd -- ${ATIEVENTSDOPTS} + start-stop-daemon --start --pidfile /var/run/atieventsd.pid \ + --exec /opt/ati/sbin/atieventsd -- ${ATIEVENTSDOPTS} + local pid=`pidof atieventsd` + echo $pid > /var/run/atieventsd.pid eend $? } @@ -17,3 +19,4 @@ start-stop-daemon --stop --quiet --pidfile /var/run/atieventsd.pid eend $? } +