packages/bitlbee: use new service functions
[openwrt/svn-archive/archive.git] / net / bitlbee / files / bitlbee.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=50
5
6 start() {
7 mkdir -m 0755 -p /var/lib/bitlbee
8 service_start /usr/sbin/bitlbee -D
9 }
10
11 stop() {
12 service_stop /usr/sbin/bitlbee
13 }