Re: Startup script at boot (Debian)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Siri Amrit Kaur
Date:  
To: plug-discuss
Subject: Re: Startup script at boot (Debian)
On Wednesday 30 March 2005 02:33 pm, George Joseph Thekkekara wrote:
> Amrit,
>
> Here are some simple steps towards what you are trying to acheive;
>
> 1. Make a file called /etc/init.d/local.
>
> 2. Insert your following script in the above mentioned file
>
> #! /bin/bash
> #
> # Powersaving mode for Athlon/Duron and KT266A chipset
> setpci -v -H1 -s 0:0.0 70=86
> setpci -v -H1 -s 0:0.0 95=1e
> #
> modprobe imm
>
> 3. Make the file executable with the command
>
> chmod +x /etc/init.d/local
>
> 4. Link the new file by running
>
> update-rc.d local defaults 80
>
> This will do the trick


And it did! Your instructions were excellent. I followed the steps exactly,
then rebooted. The powersaving commands ran and it found my Iomega Zip drive.
Needless to say, I'm printing them to save for if I ever do another install.

Once again, thanks to everyone who helped.

Siri Amrit

>
> Note: If you just want to run the script only once while bootup, you
> can ignore the step 4 above and instead of that you can add the
> following to your /etc/inittab
>
> LO:2:once:/etc/init.d/local
>
> Where you should substitute for '2' with whatever is your initial default
> level.
>
> Regards
>
> George Joseph
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss