From 70a2eee3e2d21396f60e97716285260a1b1308bc Mon Sep 17 00:00:00 2001 From: edrikk Date: Tue, 9 Jun 2015 15:53:11 -0400 Subject: [PATCH] Define "TOMATO" in Tomato portion of config file creation Define "TOMATO" in Tomato portion of config file creation --- miniupnpd/genconfig.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/miniupnpd/genconfig.sh b/miniupnpd/genconfig.sh index 6410c26..7319abc 100755 --- a/miniupnpd/genconfig.sh +++ b/miniupnpd/genconfig.sh @@ -265,6 +265,10 @@ case $OS_NAME in OS_NAME=UPnP OS_URL=http://tomatousb.org/ echo "" >> ${CONFIGFILE} + echo "#ifndef TOMATO" >> ${CONFIGFILE} + echo "#define TOMATO" >> ${CONFIGFILE} + echo "#endif" >> ${CONFIGFILE} + echo "" >> ${CONFIGFILE} echo "#ifdef LINUX26" >> ${CONFIGFILE} echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} echo "#endif" >> ${CONFIGFILE}