WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Setup Script  (Read 2906 times)

Offline development

  • WikiUser
  • *
  • Posts: 22
Setup Script
« on: January 03, 2009, 01:55:32 AM »
I'm very newbie. Could you help me.
How to add setup script when tce load ?

Thanks

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12876
Re: Setup Script
« Reply #1 on: January 03, 2009, 02:44:24 AM »
If you edit the file bootlocal.sh, you can add commands there and they will run automatically as root on boot. If you have backup/restore enabled, the changes to bootlocal.sh will be saved automatically.

If you're not comfortable using vi from the command line, you can load the beaver extension to edit bootlocal.sh. As an example, to load the module named "b43", add the line "modprobe b43"  to bootlocal.sh - without the quotes ""
« Last Edit: January 03, 2009, 02:48:30 AM by Juanito »

Offline development

  • WikiUser
  • *
  • Posts: 22
Re: Setup Script
« Reply #2 on: January 03, 2009, 07:13:36 AM »
I just try and it works. Thanks.