Disable Natsemi NIC Messages

#!/bin/bash
 
# The Natsemi NIC driver for Evo T20 has a bug, it output every 5 seconds a warning messages to the console.
# You can fix that with this init script:
 
cat <<EOF> /opt/ltsp/i386/etc/init.d/disableNicMsg
#!/bin/bash
/usr/sbin/ethtool -s eth0 msglvl 0
exit 0
EOF
 
chmod 755 /opt/ltsp/i386/etc/init.d/disableNicMsg
cd /opt/ltsp/i386/etc/rcS.d/
ln -s ../init.d/disableNicMsg S20disableNicMsg
 
# update LTSP image
ltsp-update-image