Run script at boot time

Shahar Dag dag at cs.technion.ac.il
Sun Nov 14 09:26:21 UTC 2010


----- Original Message ----- 
From: "Loïc Grenié" <loic.grenie at gmail.com>
To: "Shahar Dag" <dag at cs.technion.ac.il>; "Ubuntu user technical support,not 
for general discussions" <ubuntu-users at lists.ubuntu.com>
Sent: Sunday, November 14, 2010 10:28 AM
Subject: Re: Run script at boot time


2010/11/14 Shahar Dag <dag at cs.technion.ac.il>:
> Hello
>
>
>
> On Ubuntu 8.04 I want to run a script that update some files.
>
> I want to run the script when the computer boots.
>
> The script takes the data from a mounted file system (it’s a network file
> system).
>
>
>
> The script is started by an entry in /etc/crontab that looks like:
>
> @reboot root my_script
>
> The problem is that the file system is not mounted when my_script is 
> called.

    /etc/rc.local is one of the last script to be called at boot. All
NFS filesystems
  should be mounted at that point. Are your NFS flesystems in /etc/fstab and
  mounted "normally" by the system or are there mounted by some custom
  way ?

      Cheers,

         Loïc

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Its a regular NFS filesystem mounted normally from /etc/fstab

Shahar





More information about the ubuntu-users mailing list