docker-mod-openssh-server-t.../root/etc/s6-overlay/s6-rc.d/init-mod-openssh-server-tweaks/run
2023-01-29 00:33:29 +01:00

9 lines
271 B
Text
Executable file

#!/usr/bin/with-contenv bash
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"