blogic 52d0db3a6c fixes shorewall script that is used to get the systems hostname, #3672
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 16:46:17 +00:00

13 lines
170 B
Bash

#!/bin/sh
. /etc/functions.sh
hostname="OpenWrt"
config_cb () {
echo a $1
config_get hostname "$1" hostname
echo b $hostname
}
config_load "system"
echo "$hostname"