#! /bin/csh -f

set noipfwd=0
#
# This script disables ip-forwarding at boot, on all architectures.
#
source scripts/aliases

	E ""
	E -n "Do you wish to disable IP-Forwarding on boot time (y/n) [y] ? "
	get ipfans

	if ("X$ipfans" != X && "X$ipfans" != Xy) goto ok

	set noipfwd=1

ok:
	if ($#argv == 1) then
		echo "Noipfwd=$noipfwd" >> $1
	endif
	exit 0

abort:
	exit 1
