description "Setup Routing depending on several config files" author "Harald Kueller " version 1.0 emits none special start on stopped routing console output script source /etc/init/functions if [ -f /etc/sysconfig/net/routetable ]; then sed -e "/^#/d" /etc/sysconfig/net/routetable | \ sed -e "/^ *$/d" >/tmp/routetable exec 3&- rm /tmp/routetable fi if [ -f /etc/sysconfig/net/routerule ]; then sed -e "/^#/d" /etc/sysconfig/net/routerule | \ sed -e "/^ *$/d" >/tmp/routerule exec 3&- rm /tmp/routerule fi end script