
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12015 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
170 B
Bash
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"
|