#!/bin/sh BSDIR="/volume1/tmp/ipkg-bootstrap" echo -n "Creating temporary ipkg repository..." rm -rf $BSDIR mkdir -p $BSDIR || exit 1 ln -s $BSDIR /tmp/ipkg cat >>$BSDIR/ipkg.conf </opt/etc/ipkg/cross-feed.conf else echo "src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable" >/opt/etc/ipkg/cross-feed.conf fi fi echo "Setup complete..." echo "If your network setup is correct, you should be able to do \"ipkg update\" to get the" echo "full list of installable packages"