port lots of init scripts over to rc.common (more to come)
[packages.git] / net / bitlbee / files / S55bitlbee
index d7f691d..95c5f59 100755 (executable)
@@ -1,3 +1,11 @@
-#!/bin/sh
-mkdir -p /var/lib/bitlbee
-bitlbee -D
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+start() {
+       mkdir -p /var/lib/bitlbee
+       bitlbee -D
+}
+
+stop() {
+       killall bitlbee
+}