Comment 7 for bug 1507025

Revision history for this message
Bernd Dietzel (l-ubuntuone1104) wrote :

Thats better ... (the "-" was wrong in my previous posting )

HOSTNAME="${HOSTNAME//[^A-Za-z0-9_\-]/x}"

i attached a modified hostname.sh wich uses bash.

it can be startet manualy with

sudo /etc/init.d/hostname.sh start

The command should somehow run at startup ... but does not by default ?