User Feedback :: execute scripts at boot
I use DSL and save my configuration on a USB flash memory.
Is there a way to automate the execution of some configuration scripts at boot time either by saving them on the USB flash or using cheatcodes?
edit /opt/bootlocal.sh
you can have your scripts running at boottime if you put them in /opt/bootlocal.sh
btw.
if you start dsl, a DILLO opens with the page "Getting Started With DSL Version 0.8.1"
if you read it it explains in "Saving Your Configuration." how it works. if you still have questions, come back.
i know this is a silly question, but how do I edit /opt/bootlocal.sh if the CD is read only?
should i edit the file while I have my master copied onto the hard disk in the remastering process?
or I have to edit the file and save it on my USB flash drive?
The /opt directory is writable .. as root user ..
It's actually writing to a substitute COPY which is in ramspace..
Once you have edited and saved the file to your liking,
make sure the text ' opt/bootlocal.sh ' is in your home/dsl/filetool.list file ..
Then when you create a backup to wherever you choose to keep backups,
your edited copy of bootlocal.sh will be saved in the backup..
When you restart your liveCD , include the text
' dsl restore=sda1 ', or wherever you keep backups ..
Then upon booting up, the saved bootlocal.sh will
overwrite the read-only copy on the cd.
This procedure works with most ANY file you can edit ..
73
ke4nt
man, that was a FAST feedback, let me try it right now and get back to you
Next Page...
original here.