Thecus N2100 with Debian enable boot completion beep

I have installed a Debian on my N2100 yesterday and it is just great. I wonder why the Thecus guys do not put a full version of debian into this small box by default :-). Since this is a headless PC I was missing that last beep once the system booted so I would know when I can ssh to it. Here is a small hack to overcome this problem. First install a beep package:

# apt-get isntall beep

The open up a /etc/init.d/ssh file and scroll right to the bottom and replace:
exit 0


beep -l 1000
exit 0

the -l option specifies a length of the beep so feel free to adjust it to your needs.