Re: [systemd-devel] Starting a script early in boot

2010-09-08 Thread Lennart Poettering
On Wed, 08.09.10 07:01, Daniel Drake ([email protected]) wrote: > > [Service] > > Type=oneshot > > ExecStart=/usr/bin/olpc-configure > > > > [Install] > > WantedBy=base.target > > > > I assume you meant basic.target instead of base.target Yupp. You're right! Lennart -- Lennart Poettering - Red

Re: [systemd-devel] Starting a script early in boot

2010-09-08 Thread Daniel Drake
On 7 September 2010 05:54, Lennart Poettering wrote: > > [Unit] > Description=OLPC Configuration > DefaultDependencies=no > After=sysinit.target local-fs.target > Before=base.target > > [Service] > Type=oneshot > ExecStart=/usr/bin/olpc-configure > > [Install] > WantedBy=base.target > I assume

Re: [systemd-devel] Starting a script early in boot

2010-09-07 Thread Lennart Poettering
On Mon, 06.09.10 19:44, Daniel Drake ([email protected]) wrote: heya, > After reading the systemd man pages, I believe I want it to start > after basic.target has fully started up, but before anything in > multi-user.target starts. And I want everything in multi-user.target > to await the completio

[systemd-devel] Starting a script early in boot

2010-09-06 Thread Daniel Drake
Hi, First time user question... The OLPC-Fedora distro needs to run a script early during boot. This configures a few important things (particularly on first boot) such as setting up the system locale and X config. With sysvinit and its serialized nature, this was easy (just an init script that