TWEAK_PROFILE_UMASK

master
neingeist 1 year ago
parent 9d7581e2ff
commit a7f391466a

@ -1,3 +1,9 @@
#!/usr/bin/with-contenv bash
echo "I am $0"
exit 0
echo "[openssh-server-tweaks] started"
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…
Cancel
Save