Thankyou, worked for me :-)

On Friday, July 11, 2014 at 11:26:17 PM UTC+9:30, Dirk Koopman wrote:
>
>
>
> Replace the existing /etc/init.d/led_aging.sh script with:
>
> #!/bin/sh -e
> ### BEGIN INIT INFO
> # Provides:          led_aging.sh
> # Required-Start:    $local_fs
> # Required-Stop:     $local_fs
> # Default-Start:     2 3 4 5
> # Default-Stop:      0 1 6
> # Short-Description: Start LED aging
> # Description:       Starts LED aging (whatever that is)
> ### END INIT INFO
>
> x=$(/bin/ps -ef | /bin/grep "[l]ed_acc")
> if [ ! -n "$x" -a -x /usr/bin/led_acc ]; then
>     /usr/bin/led_acc &
> fi
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9aca5418-cc24-4f62-a3c6-65277ee09ae1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to