#!/bin/bash . $include_modpatch echo "-- applying 'timezone' patch ..." echo2 " -- patching file:" echo2 " /etc/init.d/rc.conf" sed -i -e "s/export TZ=\`cat \/etc\/TZ\`/export TZ=\`cat \/etc\/TZ|tr -d '\"'\`/" "$1"/etc/init.d/rc.conf exit 0