summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSteffen Ritter2018-04-20 11:54:19 +0200
committerSteffen Ritter2018-04-20 11:54:19 +0200
commitfec457807f80f0f494b3fa3cb726f3c3616e3ee5 (patch)
tree1ae375163c9c3a571b55ca4d525f44972b4bb1a2 /core
parent[vbox-src] add CDROM support (diff)
downloadmltk-fec457807f80f0f494b3fa3cb726f3c3616e3ee5.tar.gz
mltk-fec457807f80f0f494b3fa3cb726f3c3616e3ee5.tar.xz
mltk-fec457807f80f0f494b3fa3cb726f3c3616e3ee5.zip
[safe-mode] sed without input won't work...
Diffstat (limited to 'core')
-rwxr-xr-xcore/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode b/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode
index 3a1bcf12..b709eaf9 100755
--- a/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode
+++ b/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode
@@ -21,9 +21,7 @@ disable_magic_keys() {
change_loginscreen() {
local CF="/etc/lightdm/qt-lightdm-greeter.conf"
- sed -r -i 's/#[a-fA-F0-9]{6}/#757575/g' "/opt/openslx/lightdm/bwlp-banner.svg"
- sed -r -i '/^greeter-background/d' "$CF"
- sed -r -i 's:(^greeter-banner-image=).*$:\1/opt/openslx/lightdm/bwlp-banner-exam.svg:'
+ sed -r -i '/^greeter-background/d;s:(^greeter-banner-image=).*$:\1/opt/openslx/lightdm/bwlp-banner-exam.svg:' "$CF"
echo "greeter-background-gradient=FFB22C FFB22C" >> "$CF"
}