Make tty_font executable

This commit is contained in:
bergware
2021-11-11 02:42:06 +01:00
parent 40e22de3d5
commit 218cea0318

View File

@@ -0,0 +1,5 @@
#!/bin/bash
if [[ -n $1 ]]; then
pkill ttyd
sed -ri "s/fontSize=[0-9]+/fontSize=$1/" /etc/default/ttyd
fi