Setting hostname in Linux Version

How does one set the hostname on the CC9P linux module? I see that /etc/hostname does not exist.


I simply created the file /etc/hostname and created a .sh script, which is now part of init.d. In this script I do one thing only:

/bin/hostname -F /etc/hostname

Now every time the module boots this script is called and the hostname is set. This works fine.