Changes

From Amahi Wiki
Jump to: navigation, search
1,126 bytes added ,  09:20, 6 March 2011
Added information about possible fix when script stops working after Amahi6 upgrade
Note: if you used /etc/rc.local and /etc/fstab to mount shares locally in the past, you can remove what you added in those files now. The above initd script replaces all this.
 
 
== Unable to mount localy after upgrading to Amahi6 ==
If you try to run mount using this script after you upgraded to Amahi6 you might get greeted by this type of error.
 
{{Code|
[root@localhost ~]# /etc/init.d/mount_shares_locally start
Mounting Samba shares locally: /etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory
/etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory
/etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory
/etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory
/etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory
/etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory
/etc/init.d/mount_shares_locally: line 27: /sbin/mount.cifs: No such file or directory
[ OK ]
}}
 
It's easily fixed by installing the missing dependency.
 
{{Code|
yum install cifs-utils
}}
 
No it should work fine to run
 
{{Code|
/etc/init.d/mount_shares_locally start
}}
24

edits