I’ve on problem:
I’ve to write a script, which changes the hostname (amongst others) of a system automatically.
So the script replaces the value in /etc/net.cfg. After that the system is rebooted.
The effect is, that the touchscreen of the system doesn’t work anymore.
So I changed the script: Before rebooting, the file /etc/system/trap/calib. (which
contains the calibration-settings of the touchscreen) is copied to /etc/system/trap/calib..
Sadly, this has no effect.
When I call “calib” (the tool which creates the …/calib.*-file with user-interaction) the
touchscreen works, but only until I reboot the system.
When I change the hostname with phlip everything works. But it must be done automatically.
Are there any further files, which has to be changed?
Is there another way to change the hostname? (Perhapps with ifconfig or something similar???)
Thanx a lot in advance.