#!/bin/sh
# hardwire eth0 at 192.168.0.1/24

. install2-init-functions

IFACEDIR="$destdir/etc/net/ifaces/eth0"

# this default is hardwired in several more places at the moment...
mkdir -p "$IFACEDIR" ||:
echo 192.168.0.1/24 > "$IFACEDIR/ipv4address"
cat > "$IFACEDIR/options" << EOF
TYPE=eth
BOOTPROTO=static
EOF
