How to mount NFS share in XBMC Live? (Asrock ION/ Synology Diskstation)
#26
Just tried it. The fist command works, and the second seems okay as well. I get:

Code:
-rwxr-xr-x 1 root root 31 2009-11-28 17:46 /etc/rc2.d/S99nfs_startup

I will now increase sleep time, test that, and if that doesn't work I'll add the contents in the other file.

Wil the sleep command actually delay booting? Or will the rest of the booting continue? My NAS has a standby function so it could very well be that sleep thing.

@Starstream: I don't have a Synology but a Western digital Mybook. The topic starter did have a Synology though so I see the mixup. My WD also has a media server, but if this works I'd prefer it.

[Edit] Sleep 10 doesn't help, 15 neither.

Edited the file /etc/rc.local to this, should I leave the exit 0 there? Don't really understand the default text in the file.
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
#/bin/bash
sleep 15
~/nfs_share
exit 0

[Edit 2] Unfortunately this also doesn't work. Can I also put the mount command in /etc/rc.local ? It would seem that now /etc/rc.local calls /nfs_share in which I mount, but I wonder if I can't do that directly?

I jusr ran nfs_share manually (needed sudo), after that "ls /media/misc" works, so the only thing left is to run this correctly at boot somehow. Very close now!

[edit 3] Just put the mount line directly in /etc/rc.local, rebooted, ran "ls /media/misc" and I see my folders! Just need the final proof in xbmc now, but it seems like I am there! Thanks to all the help!
Reply


Messages In This Thread
[No subject] - by chouck - 2009-11-27, 18:56
[No subject] - by kees667 - 2009-11-27, 19:46
[No subject] - by gsgleason - 2009-11-28, 03:34
[No subject] - by uomiarz - 2009-11-28, 05:15
[No subject] - by kees667 - 2009-11-28, 09:57
[No subject] - by JBNY - 2009-11-28, 16:39
[No subject] - by kees667 - 2009-11-28, 18:49
[No subject] - by uomiarz - 2009-11-28, 19:19
[No subject] - by kees667 - 2009-11-28, 20:05
[No subject] - by uomiarz - 2009-11-28, 21:56
[No subject] - by kees667 - 2009-11-28, 22:55
[No subject] - by uomiarz - 2009-11-28, 23:42
[No subject] - by kees667 - 2009-11-28, 23:44
[No subject] - by kees667 - 2009-11-29, 10:45
[No subject] - by kees667 - 2009-11-29, 16:52
[No subject] - by kees667 - 2009-11-29, 17:01
[No subject] - by uomiarz - 2009-11-29, 18:57
[No subject] - by kees667 - 2009-11-29, 19:55
[No subject] - by kees667 - 2009-11-30, 00:16
[No subject] - by uomiarz - 2009-11-30, 03:55
[No subject] - by kees667 - 2009-11-30, 20:07
[No subject] - by uomiarz - 2009-12-01, 03:39
[No subject] - by kees667 - 2009-12-01, 07:51
[No subject] - by Starstream - 2009-12-01, 11:46
[No subject] - by kees667 - 2009-12-02, 21:11
[No subject] - by uomiarz - 2009-12-03, 19:21
[No subject] - by kees667 - 2009-12-03, 20:09
[No subject] - by kees667 - 2009-12-03, 22:53
[No subject] - by silver77 - 2009-12-04, 19:55
[No subject] - by JBNY - 2009-12-05, 16:26
[No subject] - by xbmcjb - 2009-12-12, 20:38
Ubuntu - by indie - 2010-01-17, 01:23
[No subject] - by gabbott - 2010-01-30, 16:56
[No subject] - by Manuva - 2010-01-30, 18:09
[No subject] - by indie - 2010-01-31, 21:09
[No subject] - by Henkske - 2011-01-28, 14:45
[No subject] - by johnodon - 2011-01-30, 00:27
[No subject] - by rob_b - 2011-04-06, 22:03
[No subject] - by rob_b - 2011-11-23, 00:14
[No subject] - by darkscout - 2011-11-23, 00:34
[No subject] - by rob_b - 2011-11-23, 16:37
[No subject] - by darkscout - 2011-11-23, 16:46
[No subject] - by rob_b - 2011-11-23, 17:22
Logout Mark Read Team Forum Stats Members Help
How to mount NFS share in XBMC Live? (Asrock ION/ Synology Diskstation)1