Saving Driver Parameters Beyond Reboot
Any parameter changes made using ndd will be lost the next time your system is
rebooted.
To avoid losing the settings, put these parameter changes into a start-up file in
/etc/rc2.d, similar to the following example:
# !/sbin/sh
# Local kernel modifications
#
case "$1" in
'start')
echo "Setting local kernel parameters...\c"
ndd -set /dev/tcp tcp_recv_hiwat 65535
ndd -set /dev/tcp tcp_xmit_hiwat 65535
ndd -set /dev/tcp tcp_cwnd_max 65534
ndd -set /dev/udp udp_recv_hiwat 65535
ndd -set /dev/udp udp_xmit_hiwat 65535
echo""
..
"
'stop')
echo "0: No parameters changed."
*)
echo "Usage: $0 {start|stop}"
..
"
esac
Chapter 2
Configuring the Sun GigabitEthernet PCI Adapter
15