debug-shell: add condition for tty device to run on
authorKay Sievers <kay@vrfy.org>
Thu, 12 Jun 2014 20:26:43 +0000 (22:26 +0200)
committerKay Sievers <kay@vrfy.org>
Thu, 12 Jun 2014 20:26:43 +0000 (22:26 +0200)
units/debug-shell.service.in

index a6acad3..59f6e49 100644 (file)
@@ -10,6 +10,7 @@ Description=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY
 Documentation=man:sushell(8)
 DefaultDependencies=no
 IgnoreOnIsolate=yes
+ConditionPathExists=@DEBUGTTY@
 
 [Service]
 Environment=TERM=linux