#!/bin/sh set -e if [ "$IFACE" = "eth0" ]; then sed -i 's:^IF=".*":IF="eth0":' /etc/firestarter/configuration fi if [ "$IFACE" = "wlan0" ]; then sed -i 's:^IF=".*":IF="wlan0":' /etc/firestarter/configuration fi invoke-rc.d firestarter restart