I want to control usb devices by using SES/AOSS Button, there is only one option to unmount all usb devices but no mount option so I was thinking if I can mount all the usb devices by custom script, can any one help me out? I tried usbmount, but it's not working.
By the way what's the meaning of the default custom script?

$1 is the number of seconds the button was pushed before it was released. So the first part tests whether it was pushed for 20 seconds or more. If that is true, it runs the telnet daemon (server) on port 233 and executes the shell /bin/sh for connections.