miniupnpd/genconfig.sh: special case for AstLinux

This commit is contained in:
Thomas Bernard 2012-07-10 23:19:08 +02:00
parent cdc6ac324d
commit d9f265d0cc
1 changed files with 11 additions and 0 deletions

View File

@ -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/