summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmounted3
1 files changed, 2 insertions, 1 deletions
diff --git a/mounted b/mounted
index 3899b79..10f9ebc 100755
--- a/mounted
+++ b/mounted
@@ -20,11 +20,12 @@ do
"/mnt/141.35.51.219_expshhg" ) mpa="jes" ;;
"/mnt/141.35.60.68" ) mpa="sim" ;;
"/mnt/192.168.0.12" ) mpa="hom" ;;
+ "/mnt/usb/"* ) mpa="${mp#/mnt/usb/}" ;;
* ) mpa="${mp}" ;;
esac
if [ "${mp}" == "/" ] || df -a | grep -q "^${dev} "
then
- echo " ${mpa} \$color\${fs_used ${mp}}/\${fs_size ${mp}} \${fs_bar 6 ${mp}}"
+ echo " \${color}${mpa} \${fs_used ${mp}}/\${fs_size ${mp}} \${fs_bar 6 ${mp}}"
else
echo " ${dev} -> ${mp}"
fi