Skip to content

Commit

Permalink
Merge pull request #144 from sthen/patch-2
Browse files Browse the repository at this point in the history
fix motd permissions in integration scripts
  • Loading branch information
stspdotname authored Sep 29, 2023
2 parents 2a9ef7a + ee429a4 commit 615e468
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/shell/extensive-nsh-openbsd-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ else
ln -s /var/run/motd.0 /etc/motd
chown root /var/run/motd.0
chgrp wheel /var/run/motd.0
chmod 660 /var/run/motd.0
chmod 664 /var/run/motd.0
else
echo etc-motd does not exist, not importing!
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/shell/rc.local-nsh-openbsd-integrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ else
echo use the files located in \var/\run\/ >>/var/run/motd.0
chown root /var/run/motd.0
chgrp wheel /var/run/motd.0
chmod 660 /var/run/motd.0
chmod 664 /var/run/motd.0
else
echo etc-motd does not exist, not importing!
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/shell/rc.local-nsh-openbsd-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ else
ln -s /var/run/motd.0 /etc/motd
chown root /var/run/motd.0
chgrp wheel /var/run/motd.0
chmod 660 /var/run/motd.0
chmod 664 /var/run/motd.0
else
echo etc-motd does not exist, not importing!
fi
Expand Down

0 comments on commit 615e468

Please sign in to comment.