#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
	if [ -x "/etc/init.d/hostapd" ]; then
		update-rc.d hostapd defaults >/dev/null
		invoke-rc.d hostapd start || exit $?
	fi
fi
# End automatically added section
