Code sources - power.down source code
From WikiDLXTV
#!/bin/sh DEVROOT=`dirname $0` DELUGECONFIG="$1" $DEVROOT/$DELUGECONFIG/deluge.script stop umount -l $DEVROOT #echo "$DEVROOT/$DELUGECONFIG/deluge.script stop" #echo "umount -l $DEVROOT"