script to be run after startup?
Juraj Bednar <[email protected]> Tue, 25 May 2004 18:10:19 +0200
| Newsgroups | gmane.linux.bbc.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, I believe I saw it in earlier versions of LNX-BBC (also knoppix has it), but I have not found it in documentation for 2.1 and later releases. Is it possible to create an "after-boot" script, which will be run after all system initialization is done, but resides only on the cd (outside of singularity)? It would be possible to create simple custom cds without a need for rebuilding anything. For example I was doing an internet cafe, with the possibility to clone the workstation from prototype workstation (which is a simple script). Actually, it is done like this from the command line: wget -O - -q http://192.168.1.1/clonescript | sh (I decided to do it this way, because when the script changes, I only change it on the server, it's a closed network, so I don't care about security implications, all machines are under my control and it gives me the flexibility to change the cloning behaviour by simply editing a script on the web). I would like to recreate the default lnx-bbc to run this after initialization, but I would not like to compress/uncompress things (like boot floppy, singularity). I've done it with knoppix, but I would like lnx-bbc more (since knoppix starts graphics environment, which wastes time and system resources). Just something like init.sh on the cd itself, so one could take the boot image, singularity and create a scripted cd. J. -- Juraj Bednar http://www.jurajbednar.com/ http://sk.jurajbednar.com/ _______________________________________________ lnx-bbc mailing list [email protected] http://zork.net/mailman/listinfo/lnx-bbc
signature.asc
(application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAs2/rI9YYVPIX2mkRAnT3AJ46JGsUxFmQQDjAmxE8AjF4wugovgCfYOjh Hr/IhiXeld9mj+WVjYl1uiI= =n07x -----END PGP SIGNATURE-----