Universal usb_key_func.sh package for ZyXEL NASses, TDC Homedisk 
and Medion Life P89626/P89630

USAGE: Extract the package to a FAT formatted usb stick, and add 
your own usb_key_func.sh.2 script. This script should call 'exit 1'
on exit.
Reboot the NAS, your script should be called.
Do *not* change a single byte in usb_key_func.sh, as it won't work anymore 
then.

SAMPLES:
I added a few samples, which you can just rename to usb_key_func.sh.2
usb_key_func.sh.telnet: Starts a telnet daemon in promiscuous mode. (No login required)
usb_key_func.sh.telnet_and_stop: Idem, but also starts a shell, to stop the boot process.
usb_key_func.sh.network_and_telnet: Creates a virtual NIC with IP address 192.168.0.33, and starts telnet.
usb_key_func.sh.network_telnet_stop: Creates a virtual NIC with IP address 192.168.0.33, starts telnet, and starts a shell, to stop the boot process..

If you want to edit any of these samples, make sure you use unix line endings. On Windows PsPad will do that for you.

NOTES:
NSA-310, firmware 4.40 and newer 
Rename nsa310_check_file_C0.Zy_Private to nsa310_check_file_C0, overwriting the original nsa310_check_file_C0.

NSA-220, firmware 2.20 and older
Rename nsa220_check_file.220- to nsa220_check_file, replacing the original nsa220_check_file.

Medion Life P89626/P89630
The stick will be mounted read-only when your script is called, so you can't 
write anything to it.

MORE INFORMATION:
http://zyxel.nas-central.org/wiki/Usb_key_func.sh