forked from pool/systemd
a699b1ca34
- Do not provide %{release} for systemd-analyze - Add more conflicts to -mini packages - Disable Predictable Network interface names until it has been reviewed by network team, with /usr/lib/tmpfiles.d/network.conf. - Don't package /usr/lib/firmware/update (not used) (forwarded request 172848 from fcrozat) OBS-URL: https://build.opensuse.org/request/show/172873 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=135
23 lines
667 B
Diff
23 lines
667 B
Diff
From: Frederic Crozat <fcrozat@suse.com>
|
|
Date: Tue, 4 Dec 2012 16:51:32 +0000
|
|
Subject: Ensure debugshell has a correct value
|
|
|
|
use /bin/bash if sushell isn't installed (bnc#789052).
|
|
---
|
|
units/debug-shell.service.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/units/debug-shell.service.in b/units/debug-shell.service.in
|
|
index a6acad3..64b5e0d 100644
|
|
--- a/units/debug-shell.service.in
|
|
+++ b/units/debug-shell.service.in
|
|
@@ -13,7 +13,7 @@ IgnoreOnIsolate=yes
|
|
|
|
[Service]
|
|
Environment=TERM=linux
|
|
-ExecStart=@SUSHELL@
|
|
+ExecStart=/bin/bash -c '[ -x @SUSHELL@ ] && exec @SUSHELL@ || exec /bin/bash'
|
|
Restart=always
|
|
RestartSec=0
|
|
StandardInput=tty
|