Le vendredi 11 juillet 2014 15:56:17 UTC+2, Dirk Koopman a écrit :
>
>
>
> 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
>
>
Great, it worked, thanks ! 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to