streamscapes/gethostname.sh

3 lines
72 B
Bash
Executable File

HOSTNAME=`cat /etc/hostname`
echo HOSTNAME=\"$HOSTNAME\" > hostname.liq