WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Setup Script  (Read 4078 times)

Offline development

  • Newbie
  • *
  • 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
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

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