constantin-net

spacefm mountshare plugin fix

Feb 13th, 2022 (edited)
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. smbtree was broken at all
  2. smbc_opendir: no such file or directory
  3.  
  4. /usr/share/spacefm/plugins/MountShare/cstm_23558f1e/populatedrop:
  5. #smbtree -NS|grep '\\'|tr -d '\t\\'|awk '{print $1}' > ${SERVERS}
  6. smbshare=$(nmblookup -S "*")
  7. msshare=$(nmblookup -S -M -- -)
  8. echo "$smbshare$msshare"| grep '<00> - ' | awk '{print $1}' > ${SERVERS}
Add Comment
Please, Sign In to add comment