#!/bin/sh
#
# aryzhov@spasu.net
# configure zones according to zone description
#
[ -z "$SID" ] && SID=/tmp/install_config
[ X$SubrIsRead = XYes ] || . $SID/Scripts/Misc/!Includes/Subroutines
[ X$VarsAreSet = XYes ] || SetJVars
SetRootOpts ; [ X$ROOT != X/ ] && exec Chroot_Script $0 $*

echo "#!/bin/sh
  echo Enabling ip_forwarding
  /usr/sbin/ndd -set ip_forwarding 1
" >/etc/rc3.d/S99ip_forwarding

chmod +x /etc/rc3.d/S99ip_forwarding
