flm01/mote/v2/openwrt/package/flukso/config/flukso.init

21 lines
256 B
Plaintext
Raw Normal View History

#!/bin/sh /etc/rc.common
# Copyright (c) 2011 Bart Van Der Meerssche
START=98
start() {
chmod 666 /dev/spidev0.0
/usr/sbin/spid
/usr/sbin/fluksod
}
stop() {
/usr/sbin/fluksod -k
/usr/sbin/spid -k
rm -rf /var/run/spid
rm -rf /var/run/fluksod
}