sironaath: qualityled

File qualityled, 291 bytes (added by ramon, 13 years ago)

/etc/init.d/qualityled

Line 
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2006 OpenWrt.org
3
4START=99
5start() {
6/usr/bin/leds &
7        }
8stop() {
9killall leds
10#echo 0 > /sys/class/leds/gpio0/brightness
11echo 0 > /sys/class/leds/gpio1/brightness
12echo 0 > /sys/class/leds/gpio3/brightness
13echo 0 > /sys/class/leds/gpio4/brightness
14}