<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Michael T. Dean wrote:
<blockquote cite="mid:49317715.7010909@thirdcontact.com" type="cite">
<pre wrap="">On 11/29/2008 11:12 AM, MailingListJ wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> script (to mount smb) doesn't run from rc.local and only works on some
machines
Ok so I have a script which runs a few other scripts (in subfolders of
the first script) in order to mount some unix/linux shares) Anyway, when
I run the file from rc.local and try to pipe the output into a file the
file is empty and the shares are not mounted. however when I run the
file it mounts everything.... any ideas?
Also, the script doesn't work on my wireless clients... any ideas?
</pre>
</blockquote>
<pre wrap=""><!---->
Assumption: You're actually trying to mount the Samba/Windows share
using CIFS (you should be, as smbfs is deprecated).
If so, make sure your program mount.cifs (and/or mount.smbfs) exists in
the /sbin directory. If it's any other directory, it won't work right.
You can either move it (risking problems with package managers) or
create a symlink:
ln -s /sbin/mount.cifs /usr/sbin/mount.cifs
or whatever.
Mike
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
rc.local excerpt:<br>
<CODE><br>
touch /tmp/bootupmount.errorlog<br>
echo "start">>/tmp/bootupmount.errorlog<br>
/var/lib/mythtv/mountscript-ALL.j > /tmp/bootupmount.errorlog<br>
echo "end" > /tmp/bootupmount.errorlog.jake<br>
</CODE><br>
<br>
mountscript-all:<br>
<CODE><br>
/var/lib/mythtv/music/mountscript.j<br>
/var/lib/mythtv/pictures/mountscript.j<br>
/var/lib/mythtv/videos/mountscript.j<br>
</CODE><br>
<br>
videos/mountscript.j (all same script):<br>
<CODE><br>
mount b1:/var/lib/mythtv/videos/b1 /var/lib/mythtv/videos/b1<br>
mount b2:/var/lib/mythtv/videos/b2 /var/lib/mythtv/videos/b2<br>
</CODE><br>
<br>
When I run mountscript-ALL.j they all mount fine, in RC.local they don't<br>
<br>
Also, doesn't work on third box says <br>
<CODE><br>
mount.nfs: internal error<br>
</CODE><br>
<br>
and the /tmp/bootupmount.errorlog is an empty file with correct
timestamp<br>
<br>
its a unix/linux share its nfs not smb<br>
</body>
</html>