Added post-install.txt.

This commit is contained in:
2020-01-08 14:32:34 +13:00
parent c1f00f10e9
commit edd1f9673e

7
post-install.txt Normal file
View File

@ -0,0 +1,7 @@
echo "Changing ssh port..."
eval chroot /rootfs /usr/bin/sed -i -e 's/#Port 22/Port 2122/g' /etc/ssh/sshd_config 2>&1 | output_filter
if [ "${PIPESTATUS[0]}" -eq 0 ]; then
echo "OK"
else
echo "FAILED !"
fi