From d9f265d0cc5ca0b13a89aff1d4d519624fffd419 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 10 Jul 2012 23:19:08 +0200 Subject: [PATCH] miniupnpd/genconfig.sh: special case for AstLinux --- miniupnpd/genconfig.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/miniupnpd/genconfig.sh b/miniupnpd/genconfig.sh index e0d4ee2..ad15034 100755 --- a/miniupnpd/genconfig.sh +++ b/miniupnpd/genconfig.sh @@ -56,6 +56,12 @@ if [ -f ./os.openwrt ]; then OS_VERSION=$(cat ./os.openwrt) fi +# AstLinux special case +if [ -f ./os.astlinux ]; then + OS_NAME=AstLinux + OS_VERSION=$(cat ./os.astlinux) +fi + # Tomato USB special case if [ -f ../shared/tomato_version ]; then OS_NAME=Tomato @@ -234,6 +240,11 @@ case $OS_NAME in echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} FW=netfilter ;; + AstLinux) + OS_URL=http://www.astlinux.org/ + echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} + FW=netfilter + ;; Tomato) OS_NAME=UPnP OS_URL=http://tomatousb.org/