From 62187c5e6951ea52366eccda11d73f96e079acc9 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Wed, 20 Oct 2021 13:30:04 -0400 Subject: [PATCH] motd script --- script-install-motd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script-install-motd b/script-install-motd index 9eed393d..0aeb4154 100644 --- a/script-install-motd +++ b/script-install-motd @@ -11,7 +11,7 @@ profiledir="/etc/profile.d/" [[ ! -d "$profiledir" ]] && mkdir -p "$profiledir" -cat <<- EOF > "$profiledir/motd" +cat <<- EOF > "$profiledir/motd.sh" #!/usr/bin/env bash USER=$(whoami) @@ -55,5 +55,6 @@ echo " " EOF +chmod +x "$profiledir/motd.sh" exit $? \ No newline at end of file