packages/net/shorewall-lite/patches/100-hostname.patch
nbd e6e0d53b65 Add shorewall-lite package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@10361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 18:12:21 +00:00

13 lines
385 B
Diff

diff -Nru shorewall-lite-4.0.8.orig/shorewall-lite shorewall-lite-4.0.8/shorewall-lite
--- shorewall-lite-4.0.8.orig/shorewall-lite 2007-12-15 07:13:36.000000000 +0800
+++ shorewall-lite-4.0.8/shorewall-lite 2008-01-26 18:05:13.000000000 +0800
@@ -153,7 +153,7 @@
export VERBOSE
- [ -n "${HOSTNAME:=$(hostname)}" ]
+ [ -n "${HOSTNAME:=$(${SHAREDIR}/hostname)}" ]
}