post-boot script
- Subject: post-boot script
- From: daniel.oberhoff at fit.fraunhofer.de (Daniel Oberhoff)
- Date: Fri, 18 Jan 2008 14:23:04 +0100
- Message-id: <[🔎] 1200662584.6011.24.camel@solares>
Hi,
I am setting up a cluster using PelicanHPC (for those who do not know:
PelicanHPC is a shell script that rolls up a cluster capable LiveCD
using live-helper). I need to execute a post-boot script to run some
final setup tasks and start cluster services. I tried 99script in
config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/99script
which does get copied by live-helper to
chroot/usr/share/initramfs-tools/scripts/live-bottom/99script
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.
Also the maintainer of PelicanHPC mentioned, that 99script (which he
apparently got to run) gets executed before /home is established,
undermining the possibility to remount home to a persistent local disk.
Is there any script that is executed after home is established (best
would be it is executed right before one is dropped to the prompt)?
Best
--
---
Daniel Oberhoff
Fraunhofer FIT
Schloss Birlinghoven
53754 Sankt Augustin, Germany
Tel.: +49-(0)-2241-14-3486
Fax.:+49 (0) 2241/14-2080
Reply to: