diff --git a/system_files/shared/usr/libexec/check-sb-key.sh b/system_files/shared/usr/libexec/check-sb-key.sh index e918fe177f8..6ec3e99ffcf 100755 --- a/system_files/shared/usr/libexec/check-sb-key.sh +++ b/system_files/shared/usr/libexec/check-sb-key.sh @@ -18,7 +18,7 @@ if [ $SB_ENABLED -ne 0 ]; then fi if mokutil --test-key "$KEY_DER_FILE"; then - echo "**WARNING**: $WARNING_MSG" > $KEY_WARN_FILE + echo "$WARNING_MSG" > $KEY_WARN_FILE else [ -e $KEY_WARN_FILE ] && rm $KEY_WARN_FILE fi diff --git a/system_files/shared/usr/libexec/ublue-motd b/system_files/shared/usr/libexec/ublue-motd index 114258e486f..56c3078d8dc 100755 --- a/system_files/shared/usr/libexec/ublue-motd +++ b/system_files/shared/usr/libexec/ublue-motd @@ -27,7 +27,7 @@ if [[ -f "$TIP_FILE" ]]; then fi KEY_WARN_FILE="/run/user-motd-sbkey-warn.md" -[ -e $KEY_WARN_FILE ] && KEY_WARN="$(cat $KEY_WARN_FILE)" +[ -e $KEY_WARN_FILE ] && KEY_WARN="**WARNING**: $(cat $KEY_WARN_FILE)" KEY_WARN_ESCAPED=$(escape "$KEY_WARN") sed -e "s/%IMAGE_NAME%/$IMAGE_NAME_ESCAPED/g" \