branch Attitude Adjustment packages
[12.09/packages.git] / net / pyload / files / pyload.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2011 OpenWrt.org
3
4 START=94
5
6 start() {
7         /usr/bin/python /usr/share/python/pyload/pyLoadCore.py --configdir=/etc/pyload --daemon
8 }
9
10 stop() {
11         /usr/bin/python /usr/share/python/pyload/pyLoadCore.py --configdir=/etc/pyload --quit
12 }