Initial commit of petitboot bootlaoder package
[packages.git] / utils / petitboot / files / petitboot.init
diff --git a/utils/petitboot/files/petitboot.init b/utils/petitboot/files/petitboot.init
new file mode 100644 (file)
index 0000000..e02041c
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+START=80
+
+start() {
+       /usr/sbin/petitboot-wrapper &
+}
+
+stop() {
+       killall petitboot-wrapper
+       killall petitboot
+}