[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

post-boot script



El Friday 18 January 2008 14:23:04 Daniel Oberhoff va escriure:
> and is executable. But it does not seem to get executed. Recently I just
> put this dummy script there, leaving a tag:
>
> #!/bin/sh
> cat <<HACKS > /tag
> 99script waz here!
> HACKS
>
> but the tag isn't there after boot. Before I tried echoing a huge banner
> and sleeping for 10 minutes afterwards and installing a german keymap,
> but nothing ever seemed to go through.
Hello guys and girls,

the root directory for the started OS is not the same.

When a live system is starting mounts the new filesystem in the /root 
subdirectory.
the script should be:

cat <<HACKS > /root/tag
99script waz here!
HACKS

when started we can find the file "tag" in the root directory,

Regards,

Jordi



Reply to: