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

Re: automatic script after boot



HellO!
thanks, i haven't though off it.

great idea :)

Richard Nelson írta:
Greetings,

2009/12/10 Susoczki Attila<celtic@aion.hu>:
Hello!
I will execute a script after when system is booted.
Ok, I use this FAQ:
http://wiki.debian.org/DebianLive/FAQ#Q.3AHowdoIaddascriptrunningimmediatelyafterallotherscriptswhenthelivesystemboots.3F
this script is:
"sudo virusirto"

but in the live.log:

Begin: Running /scripts/live-premount ... done.
Begin: Running /scripts/live-realpremount ... done.
Begin: Mounting "/live/image/live/filesystem.squashfs" on
"/filesystem.squashfs" via "/dev/loop0" ... done.
done.
Begin: Running /scripts/live-bottom
  ... sudo: error while loading shared libraries: libpam.so.0: cannot open
shared object file: No such file or directory
Begin: Copying config on real root fs ... done.

This script executed earlier then root fs is mounted? How i do
this script is automated run after when all is okay?


Well not pretty but you can just build in a custom /etc/rc.local

Place your custom rc.local in:   config/chroot_local-includes/etc/


Thx.



begin:vcard
fn:Susoczki Attila
n:Attila;Susoczki
adr;quoted-printable;quoted-printable:;;Sz=C3=ADv u. 30 III/4;Budapest;HU;1063;Magyarorsz=C3=A1g
email;internet:celtic@aion.hu
title:AionNEXT Kft.
tel;work:0614870057
tel;cell:06202633533
x-mozilla-html:FALSE
url:http://aion.hu
version:2.1
end:vcard


Reply to: