diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-13 17:32:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-13 17:32:58 -0200 |
commit | a64487d5db57b9e281a5953b082618d2c1fca8a4 (patch) | |
tree | bfd1f26e5eaccf9cfd3d2809a49161beceb7f9b6 /misc/mount-tablet | |
parent | f6978c1b28db3308808f2e303c607047f97a96c5 (diff) | |
download | scripts-a64487d5db57b9e281a5953b082618d2c1fca8a4.tar.gz scripts-a64487d5db57b9e281a5953b082618d2c1fca8a4.tar.bz2 |
Removing old scripts and cleaning up some code
Diffstat (limited to 'misc/mount-tablet')
-rwxr-xr-x | misc/mount-tablet | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/misc/mount-tablet b/misc/mount-tablet deleted file mode 100755 index b73c2eb..0000000 --- a/misc/mount-tablet +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -# -# mount-tablet -# - -# Parameters -BASENAME="`basename $0`" -MOUNTPOINT="/media/tablet" - -# Set sudo config -if [ "`whoami`" != 'root' ]; then - sudo="sudo" -fi - -if [ "$BASENAME" == "mount-tablet" ]; then - $sudo mkdir -p $MOUNTPOINT - $sudo mtpfs -o allow_other $MOUNTPOINT -elif [ "$BASENAME" == "umount-tablet" ]; then - $sudo umount $MOUNTPOINT -fi - |