2009-12-01, 03:39
you don't need to add sudo to the file
try to run that file after login and see if it actually works
try to list your misc folder after that
if it works then:
1) maybe your file is not executable, check that by doing:
you should see something like:
only first rwx is important,first x means is executable for owner (root)
2) increase sleep time to 10 in the script in your home folder, maybe it needs to wait longer for network to come up
3) XBMClive is not calling the files in /etc/rc2.d directory at startup - this is actually very possible, I am not running live version
in this case you need to to put content of S99 file somewhere else
tryand add content of S99 file there
try to run that file after login and see if it actually works
Code:
sudo /etc/rc2.d/S99nfs_startup
try to list your misc folder after that
if it works then:
1) maybe your file is not executable, check that by doing:
Code:
ls -la /etc/rc2.d/S99nfs_startup
Code:
-rwxrwxrwx 1 root root 40 2009-11-02 19:21 /etc/rc2.d/S99nfs_startup
2) increase sleep time to 10 in the script in your home folder, maybe it needs to wait longer for network to come up
3) XBMClive is not calling the files in /etc/rc2.d directory at startup - this is actually very possible, I am not running live version
in this case you need to to put content of S99 file somewhere else
try
Code:
sudo pico /etc/rc.local