mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
fixed ENABLE_OTG_SERIAL
This commit is contained in:
parent
da3468047a
commit
ddbb2c7645
@ -85,7 +85,7 @@ otg:
|
|||||||
end_of_file
|
end_of_file
|
||||||
grep '^ttyGS0$' /etc/securetty || echo ttyGS0 >> /etc/securetty
|
grep '^ttyGS0$' /etc/securetty || echo ttyGS0 >> /etc/securetty
|
||||||
mkdir -p /etc/systemd/system/getty@ttyGS0.service.d
|
mkdir -p /etc/systemd/system/getty@ttyGS0.service.d
|
||||||
cat <<end_of_file > /etc/systemd/system/getty@ttyGS0.service.d/ttyGS0.override
|
cat <<end_of_file > /etc/systemd/system/getty@ttyGS0.service.d/override.conf
|
||||||
[Service]
|
[Service]
|
||||||
TTYReset=no
|
TTYReset=no
|
||||||
TTYVHangup=no
|
TTYVHangup=no
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user