aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nldev/nldev.initd
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-09 12:31:29 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-06 19:58:22 +0000
commit23f8cfc9a8aab476eb97c6ec252fcdb6577220d7 (patch)
tree387c52e8e4764829a081dd01dae6289d1cf95f24 /testing/nldev/nldev.initd
parent11949c75677ef1619799f96485a8599eb81415f3 (diff)
downloadaports-23f8cfc9a8aab476eb97c6ec252fcdb6577220d7.tar.bz2
aports-23f8cfc9a8aab476eb97c6ec252fcdb6577220d7.tar.xz
testing/nldev: new aport
Diffstat (limited to 'testing/nldev/nldev.initd')
-rw-r--r--testing/nldev/nldev.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/nldev/nldev.initd b/testing/nldev/nldev.initd
new file mode 100644
index 0000000000..ed6f1e21ba
--- /dev/null
+++ b/testing/nldev/nldev.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+name="$SVCNAME"
+command="/sbin/$SVCNAME"
+command_args="${NLDEV_OPTS:--k}"
+pidfile="/var/run/$SVCNAME.pid"
+command_background="yes"
+
+depend() {
+ provide dev
+ need sysfs dev-mount
+ before checkfs fsck
+ keyword -lxc -vserver
+}