+OLDFILES=files.oldconf
+NEWFILES=files
+OLDCONFIG=config.old
+NEWCONFIG=config
+
+if [ -f $SYS/conf/$OLDFILES ]; then
+ if ! grep -q ppp-deflate $SYS/conf/$OLDFILES; then
+ echo "Patching $SYS/conf/$OLDFILES"
+ patch -N $SYS/conf/$OLDFILES <$SRC/files.oldconf.patch
+ if [ $CONFIG = $OLDCONFIG ]; then
+ DOCONF=yes
+ fi
+ fi
+fi
+if [ -f $SYS/conf/$NEWFILES ]; then
+ if ! grep -q ppp-deflate $SYS/conf/$NEWFILES; then
+ echo "Patching $SYS/conf/$NEWFILES"
+ patch -N $SYS/conf/$NEWFILES <$SRC/files.patch
+ if [ $CONFIG = $NEWCONFIG ]; then
+ DOCONF=yes
+ fi
+ fi
+fi
+