aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nldev/nldev.initd
diff options
context:
space:
mode:
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 00000000000..ed6f1e21baa
--- /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
+}