added permission fix
This commit is contained in:
parent
e971e92d84
commit
5c1cbafbc0
1 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,12 @@ wget ${gitrepo}/raw/branch/main/%20update-motd.d/20-sysinfo -O /etc/update-motd.
|
||||||
wget ${gitrepo}/raw/branch/main/%20update-motd.d/30-disks -O /etc/update-motd.d/30-disks &> /dev/null
|
wget ${gitrepo}/raw/branch/main/%20update-motd.d/30-disks -O /etc/update-motd.d/30-disks &> /dev/null
|
||||||
wget ${gitrepo}/raw/branch/main/%20update-motd.d/40-docker -O /etc/update-motd.d/40-docker &> /dev/null
|
wget ${gitrepo}/raw/branch/main/%20update-motd.d/40-docker -O /etc/update-motd.d/40-docker &> /dev/null
|
||||||
|
|
||||||
|
echo " set script permissions..."
|
||||||
|
chmod 775 /etc/update-motd.d/10-hostname &> /dev/null
|
||||||
|
chmod 775 /etc/update-motd.d/20-sysinfo &> /dev/null
|
||||||
|
chmod 775 /etc/update-motd.d/30-disks &> /dev/null
|
||||||
|
chmod 775 /etc/update-motd.d/40-docker &> /dev/null
|
||||||
|
|
||||||
echo " finished..."
|
echo " finished..."
|
||||||
echo ""
|
echo ""
|
||||||
echo " test output:"
|
echo " test output:"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue