summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-18 16:41:30 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-18 16:41:30 (EDT)
commitb63cf158faf1309eb05028dc705ebf2fef6d6873 (patch)
tree707b88ad969bffbeda33d4057a8d72ffe09d84c2 /build
parentbd5c48a55c4b78cf457554ba3fe05155b2b5ef7c (diff)
Add service initialization script
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index b84fcdf..b92f3fa 100755
--- a/build
+++ b/build
@@ -24,6 +24,9 @@ install: build
MULTI=1
oh-autoinstall -- \
PROGRAMS='dropbearconvert'
+ install -d -m 0755 dest/etc/init.d
+ install -p -m 0755 ../dropbear.pkg/dropbear.init \
+ dest/etc/init.d/dropbear
oh-fixperms
oh-strip
oh-installfiles