Fix motd_ssh console issue: remove systemctl restart that breaks getty TTY
This commit is contained in:
parent
79b44d3007
commit
52847c8dd8
@ -279,8 +279,7 @@ customize() {
|
||||
ExecStart=
|
||||
ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,38400,9600 \$TERM
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||
$STD systemctl daemon-reload || true
|
||||
msg_ok "Customized Container"
|
||||
fi
|
||||
echo "bash -c \"\$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/${app}.sh)\"" >/usr/bin/update
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user