projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
utils/petitboot/files/petitboot.init
@@ -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
+}