commit 309124c7f0f0a02f979d48dca25193c81c97ed27 from: smytht via: GitHub date: Mon Sep 16 13:18:20 2024 UTC Update extensive-nsh-openbsd-integrate.sh move motd on import move /etc/motd on import so the sym link works then commit - 69aa42d63b79974d2490eeb6ac9565ff042527ff commit + 309124c7f0f0a02f979d48dca25193c81c97ed27 blob - 388262660665d1adab381b2c99b2f728e231b4b3 blob + 4f944ca4b867ce022afa7b496caeb53c670db2ce --- scripts/shell/extensive-nsh-openbsd-integrate.sh +++ scripts/shell/extensive-nsh-openbsd-integrate.sh @@ -220,7 +220,7 @@ else motd='/etc/motd' if [ -f $motd ]; then cp /etc/motd /var/nsh/backup/pre-nsh-config/ - cp /etc/motd /var/run/motd.0 + mv /etc/motd /var/run/motd.0 sed -i 's/Welcome to OpenBSD/OpenBSD/g' /var/run/motd.0 ln -s /var/run/motd.0 /etc/motd chown root /var/run/motd.0