On Mon, Nov 23, 2009 at 05:26:08PM +0100, Jahn Bertsch wrote: > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ trunk/openwrt/package/pisa/files/pisaautoconf.init Mon Nov 23 > 17:26:08 2009 (r1746) > @@ -0,0 +1,67 @@ > +#!/bin/sh /etc/rc.common > +# > +# Relies on the '-i' GNU extension for sed. > + > +replace () { > + sed -i "s/$2/$3/g" $1 > +} Are you sure you can rely on the -i option being available? OpenWrt uses busybox by default and I think busybox provides sed, so GNU sed might not be available. > +echo "Getting configuration from $CONFIG_URL" > +wget $CONFIG_URL Is wget always available? Diego