Skip to content

Commit

Permalink
Fix show filesystem type duplicated.
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 13, 2013
1 parent cbb53f4 commit 6b8fe0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ File[2]=".src/Global.class:88.35"
File[3]=".src/About.form"
File[4]=".src/About.class:73.3"
File[5]=".src/battery.module:70.77"
File[6]=".src/Disk_Drives.module:50.22"
Active=6
File[6]=".src/Disk_Drives.module:144.28"
File[7]=".src/ScreenShot.form"
File[8]=".src/ScreenShot.class:20.21"
File[9]=".src/ScreenShotM.module:7.0"
Expand All @@ -50,7 +51,6 @@ File[26]=".src/FDF.form"
File[27]=".src/FDF.class:28.69"
File[28]=".src/FNET_R_T.form"
File[29]=".src/FNET_R_T.class:28.32"
Active=30
File[30]=".src/FGraphic.module:36.1"
File[31]="logo/fb.png"
File[32]=".src/FCPU.module:3.4"
Expand Down
2 changes: 1 addition & 1 deletion src/i-nex/.src/Disk_Drives.module
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Public Sub disks()
Shell "LC_ALL=C df | grep '" & Finfosys.ComboBox3.Text & "' | awk {'print $6, $7'} | sed -n '1p'" Wait To mount_point
Shell "ls -l /dev/disk/by-uuid/ | grep " & Finfosys.ComboBox3.Text & " | awk {'print $9'}" Wait To device_uuid
device_uuid = Replace(Replace(device_uuid, " ", ""), "\n", "")
Shell "grep '" & Finfosys.ComboBox3.Text & "' /proc/mounts | awk {'print $3'}" Wait To filesystem_type
Shell "grep '^/dev/" & Finfosys.ComboBox3.Text & " ' /proc/mounts | awk {'print $3'}" Wait To filesystem_type
filesystem_type = Replace(Replace(filesystem_type, " ", ""), "\n", "")
If mount_widtch = Null Then
Shell "grep '" & device_uuid & "' /proc/mounts | awk {'print $4'}" Wait To mount_widtch
Expand Down

0 comments on commit 6b8fe0d

Please sign in to comment.