summaryrefslogtreecommitdiffstats
path: root/core/modules/sshd
diff options
context:
space:
mode:
authorSteffen Ritter2022-02-21 12:38:25 +0100
committerSteffen Ritter2022-02-21 12:38:25 +0100
commit48449601f21915cf05c0749fbf4ed25e2f76aca5 (patch)
tree7b3570793e67ae5e26e5ff68a4fc248da8f15bc4 /core/modules/sshd
parent[dnbd3-proxy-mode] Local caching: fix block device check (diff)
downloadmltk-48449601f21915cf05c0749fbf4ed25e2f76aca5.tar.gz
mltk-48449601f21915cf05c0749fbf4ed25e2f76aca5.tar.xz
mltk-48449601f21915cf05c0749fbf4ed25e2f76aca5.zip
[sshd] Change Mini- to MaxiLinux in installer mode
Diffstat (limited to 'core/modules/sshd')
-rw-r--r--core/modules/sshd/module.build4
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
}