#!/bin/bash USRWWW="usr/www/${OEMDIR}/$html/de" #normal condition patching menues for dect if [ -d "$SR1/usr/www/${OEMDIR}" ]; then #build link files used on .56 7150 type dect menu for FILE in "dect0" "fon1dect" "fonlistdect" "foneditdect" "fonsetupdect" ; do for EXT in "frm" "html" "inc" "js" ; do DSTF="$SR1/${USRWWW}/home/${FILE}.${EXT}" rm -f "${DSTF}" touch "${DSTF}" echo2 "-> $FILE.$EXT" echo " include ../html/de/fon/$FILE.$EXT ?>" >"${DSTF}" done done PatchfileName="add_7150_dect_en" [ "$avm_Lang" = "en" ] && modpatch "$SR1/${USRWWW}" "$P_DIR/${PatchfileName}.patch" #-------------------------------------------------------------------------------- FN="$SR1/${USRWWW}/home/fondevices.html" sed -i -e "/