aboutsummaryrefslogtreecommitdiff
path: root/init.d/numlock.in
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-04-28 21:03:49 -0400
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-05-01 09:14:09 -0500
commit7bd456ed7bf35da2d7a53650baa33637e178064e (patch)
tree8d9c397d1413eacb53e8a13ddea62dffda706449 /init.d/numlock.in
parentc709e6077c6eda3f4f7e7222298213413254ee0f (diff)
Disable service scripts for systemd-nspawn
This adds the -systemd-nspawn keyword to service scripts which are not intended to run in systemd-nspawn containers. This fixes #52. X-Gentoo-Bug: 548058 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548058
Diffstat (limited to 'init.d/numlock.in')
-rw-r--r--init.d/numlock.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/numlock.in b/init.d/numlock.in
index 1b6d0a59..cdc0da01 100644
--- a/init.d/numlock.in
+++ b/init.d/numlock.in
@@ -9,7 +9,7 @@ ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
depend()
{
need localmount
- keyword -openvz -prefix -vserver -lxc
+ keyword -openvz -prefix -systemd-nspawn -vserver -lxc
}
_setleds()