diff options
-rwxr-xr-x | mounted | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |