Running a script after unattended installation

Chris MacDonald chris at
Wed Nov 10 18:31:19 UTC 2010

On Wed, Nov 10, 2010 at 10:08 AM, Mark <mhullrich at> wrote:
> On Wed, Nov 10, 2010 at 6:44 AM, Kai Renz <writemecas at> wrote:
>>>  #!/bin/bash
>>> echo "test" >> /test.txt
> This will fail unless you have write privilege on / - try using /tmp.
> Mark
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:

Which part is failing? When you reboot I take it the script doesn't
run, but does it make the modification to your rc.local? Is the script
you downloaded present in the root of the filesystem?

Also, I've only ever used wget's -O option to specify the output file
and location... you can try that if the problem is that your file
isn't being downloaded to the appropriate location.


More information about the ubuntu-users mailing list