Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-08-2003, 10:34 AM   #1
LQ Newbie
Registered: Oct 2003
Location: UK
Distribution: Slackware 9.1
Posts: 14

Rep: Reputation: 0
on Network Up Script run? On Battery power run script?

Hello People,

wonder if anyone can help me.

my system uses dhcp to get an ip address (which is not always successful on the first attemptm ) cause i have uni network access and home network access and its just easier this way.

current system set up:-

i have dhcpcd running at boot utilising rc.local to run this, then i also have the firewall script starting and then snort. my problem is i dont always get a ip address the first time.

the way i want the system to be set up :-

run dhcpcd on boot up, if it gets and ip address then run subsequent scripts to run the firewall and snort. i know i could create a script to run at boot time to do this but what i really want is when the network is up then run the scripts would make my life easier u see

also similar kinda thing for acpi

if the laptop is running on battery power i want acpi to run a program that dims my screen automatically, and when the ac is plugged in to pump the screen back up to full brightness..

is this possible..




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 03:53 AM
Shell script to run pl/sql script. colly Linux - General 1 09-09-2004 07:49 AM
Script to run script in multiple directories... seabass55 Linux - General 5 07-06-2004 01:44 AM
When running a script I get a box asking "Run or display ?" I want it to just run aaronruss Linux - Newbie 4 05-28-2004 01:03 AM
can't run a script script from icon in konqueror scottsteibel Linux - Software 1 08-02-2003 08:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration