led_aging apt-get error

The BeagleBone SBC

led_aging apt-get error

Postby Richard-TX » Mon Nov 30, 2015 10:30 pm

Edit the file

nano /etc/init.d/led_aging.sh

and replace the contents 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



again. It will solve the issue.
User avatar
Richard-TX
Site Admin
 
Posts: 208
Images: 6
Joined: Sat Feb 04, 2012 8:10 pm

Return to BeagleBone

Who is online

Users browsing this forum: No registered users and 1 guest

cron