Hi All,
I want to echo my hostname, can someone point out what is wrong with my script to me, please?
#!/bin/sh
. /etc/functions.sh
config_load /etc/config/system
config_get host system hostname
echo
echo "hostname is: $host"
echo
echo "hostname by 2nd method is:"
config_get system hostname
Thanks,