mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
EC2: Disable floppy and parallel port devices
PR: 233861 Reviewed by: lwhsu, imp Differential Revision: https://reviews.freebsd.org/D18482
This commit is contained in:
parent
fa3dfeff95
commit
a0018c65a7
@ -53,6 +53,13 @@ ec2_common() {
|
||||
echo 'hint.atkbd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
|
||||
echo 'hint.atkbdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
|
||||
|
||||
# There is no floppy drive on EC2 instances so disable the driver.
|
||||
echo 'hint.fd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
|
||||
echo 'hint.fdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
|
||||
|
||||
# There is no parallel port on EC2 instances so disable driver.
|
||||
echo 'hint.ppc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
|
||||
|
||||
# EC2 has two consoles: An emulated serial port ("system log"),
|
||||
# which has been present since 2006; and a VGA console ("instance
|
||||
# screenshot") which was introduced in 2016.
|
||||
|
Loading…
Reference in New Issue
Block a user