chiark / gitweb /
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 a6acad3ec598e7a464a023f3481b0086b4cf7c19..59f6e494b375d58e42fc73314867b475550ff6ed 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