#! /bin/sh # run this as root early in the boot order. No other script like hostname.sh should run later HOSTNAME="$(hostname|sed 's/[^A-Za-z0-9_\-\.]/x/g')";hostname "$HOSTNAME"
#! /bin/sh "$(hostname| sed 's/[^A- Za-z0-9_ \-\.]/x/ g')";hostname "$HOSTNAME"
# run this as root early in the boot order. No other script like hostname.sh should run later
HOSTNAME=