The guidance in the wiki needs updated to reflect Ubuntu procedure as well. It is a different script file and there are a few depends (curl and cifs-utils) that need to be installed.
It still was not working quite right for me. It mounted shares, but gave a warning. I failed to record it, but will add it here next time I test.
#2 Updated by bigfoot65 almost 9 years ago
This is the error reflected when restarting the script:
- Unmounting locally mounted Samba shares... umount: /mnt/samba/printers: not mounted
- Mounting Samba shares locally... mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
When doing an initial start, the printer error message is not shown. It seems CUPS is not installed by default, so not sure if that will be needed.
#4 Updated by smccloud almost 9 years ago
- File mount_shares_locally added
Please see attached script. It will check to see if the current directory is equal to printers or print$ and delete it if it is. Not the most ideal solution, but w/o reading from the DB its the best solution I can come up with.
Also available in: Atom