WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Setup Script  (Read 4458 times)

Offline development

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

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Setup Script
« Reply #1 on: January 03, 2009, 05: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, 05:48:30 AM by Juanito »

Offline development

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