0,0 → 1,28 |
#!/bin/sh |
|
##################################################################### |
# Script to mount obex mobile device via bluetooth |
# This script is distributed in the hope that it will be useful, |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
# GNU General Public License for more details. |
# Author: Andrzej KardaĆ |
# License: GPLv3 |
# The full version of the licencse can be obtainted by visiting: |
# http://www.gnu.org/licenses/gpl.html |
####################################################################### |
|
MOUNTPOINT="/tmp/${USER}-${1}" |
|
#Create mount directory |
mkdir ${MOUNTPOINT} |
#Mount the device |
obexfs -b ${1} ${MOUNTPOINT} |
sleep 5 |
/usr/bin/krusader --left ${HOME} --right ${MOUNTPOINT} |
#/usr/bin/dolphin ${MOUNTPOINT} |
#Unmount the device |
fusermount -u ${MOUNTPOINT} |
sleep 5 |
#Remove mount directory |
rmdir ${MOUNTPOINT} |
Property changes: |
Added: svn:executable |
## -0,0 +1 ## |
+* |
\ No newline at end of property |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |