Index: net/uhub/files/uhub.init
===================================================================
--- net/uhub/files/uhub.init (revision 0)
+++ net/uhub/files/uhub.init (revision 0)
@@ -0,0 +1,19 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2011 OpenWrt.org
+# Copyright (C) 2011 Rudolf Meijering
+
+NAME=uhub
+PIDFILE=/var/run/uhub.pid
+START=50
+STOP=50
+
+start()
+{
+ /sbin/start-stop-daemon -S -p "${PIDFILE}" -b -m -x /usr/bin/uhub
+}
+
+stop()
+{
+ /sbin/start-stop-daemon -K -n uhub -p "${PIDFILE}"
+}
+
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to