diff options
author | Steffen Ritter | 2022-02-21 12:38:25 +0100 |
---|---|---|
committer | Steffen Ritter | 2022-02-21 12:38:25 +0100 |
commit | 48449601f21915cf05c0749fbf4ed25e2f76aca5 (patch) | |
tree | 7b3570793e67ae5e26e5ff68a4fc248da8f15bc4 /core | |
parent | [dnbd3-proxy-mode] Local caching: fix block device check (diff) | |
download | mltk-48449601f21915cf05c0749fbf4ed25e2f76aca5.tar.gz mltk-48449601f21915cf05c0749fbf4ed25e2f76aca5.tar.xz mltk-48449601f21915cf05c0749fbf4ed25e2f76aca5.zip |
[sshd] Change Mini- to MaxiLinux in installer mode
Diffstat (limited to 'core')
-rw-r--r-- | core/modules/sshd/module.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/sshd/module.build b/core/modules/sshd/module.build index 4efccbe9..918401c0 100644 --- a/core/modules/sshd/module.build +++ b/core/modules/sshd/module.build @@ -9,4 +9,8 @@ build() { post_copy() { chmod -R go-rwx "${TARGET_BUILD_DIR}/etc/ssh" + + if [ -n "$MLTK_INSTALL" ] && [ -e "${TARGET_BUILD_DIR}/etc/issue.net" ]; then + sed -i "s/Mini/Maxi/g" "${TARGET_BUILD_DIR}/etc/issue.net" + fi } |