#!/bin/bash set -e case $1 in preinst) exit 0 ;; postinst) if [ ! -f ${TARGET}/etc/network.conf ]; then cp ${TARGET}/usr/share/iftools/network.conf ${TARGET}/etc/network.conf fi ;; prerm) exit 0 ;; postrm) exit 0 ;; esac