Update shorewall to 4.2.1 and fix hostname usage (#4162)
[openwrt/svn-archive/archive.git] / net / shorewall-common / files / hostname
index 1fe1e52..42e1643 100644 (file)
@@ -1,12 +1,2 @@
 #!/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"
+cat /proc/sys/kernel/hostname