✨ TWEAK_PROFILE_UMASK
parent
9d7581e2ff
commit
a7f391466a
@ -1,3 +1,9 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
echo "I am $0"
|
echo "[openssh-server-tweaks] started"
|
||||||
exit 0
|
|
||||||
|
if [ -n "$TWEAK_PROFILE_UMASK" ]; then
|
||||||
|
echo "Setting profile umask to $TWEAK_PROFILE_UMASK"
|
||||||
|
sed -i "s/^umask .*/umask $TWEAK_PROFILE_UMASK/" /etc/profile
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "[openssh-server-tweaks] done"
|
||||||
|
Loading…
Reference in New Issue