projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixes shorewall script that is used to get the systems hostname, #3672
[openwrt/svn-archive/archive.git]
/
net
/
shorewall-common
/
files
/
hostname
1
#!/bin/sh
2
3
.
/
etc
/
functions.sh
4
hostname
=
"OpenWrt"
5
config_cb
() {
6
echo
a
$1
7
config_get hostname
"
$1
"
hostname
8
echo
b
$hostname
9
}
10
config_load
"system"
11
12
echo
"
$hostname
"