On a system without graphical interface access, is there a way to update the settings on '/proc/sys/dev/parport/parport0', when a printer connected to the parallel port is disconnected, and another printer is connected in its place?
Issue
The requirement is to detect the parallel printer settings dynamically from '/proc/sys/dev/parport/parport0', when a printer connected to the parallel port is disconnected, and another printer is connected in its place. The graphical interface is not accessible on the system.
Environment
Red Hat Enterprise Linux
Only terminal interface (non-graphical) available.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.