blogic 64eff5b3d8 added shorewall from #2553
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 19:36:15 +00:00

9 lines
136 B
Bash

#!/bin/sh
. /etc/functions.sh
config_load "system"
local section="cfg1"
config_get "hostname" "$section" "hostname"
echo "$hostname"