running boot scripts /etc/rc.local

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
Mian Ehsan Ashraf
Cadet
Posts: 1
Joined: Wed Sep 26, 2007 3:52 pm

running boot scripts /etc/rc.local

Post by Mian Ehsan Ashraf »

Asalam-0-alikum 2 all
Any Body Plz Help Me i m facing a problem that
running boot script etc/rc.local fail
any body plz help me
ranatanveer
Subedar
Posts: 355
Joined: Sat May 07, 2005 11:54 am
Location: Lahore
Contact:

Post by ranatanveer »

/etc/rc.local is the file which system reads at last moments during its boot process. you should not manually start this file.

how ever, you can run the contents of the file just open the file with editor like

Code: Select all

vi /etc/rc.local
look at the contents if there are scripts running like
/usr/local/squid/etc/squid
or
/usr/local/bin/firewallscript
you can run these kind of scripts manually at command prompt like this:

Code: Select all

/usr/local/squid/etc/squid
/usr/local/bin/firewallscript
Regards

Rana Tanveer
+923224194457
Linux Student

For Affordable Web Development http://www.affordableprogrammers.com
http://www.qualityprogrammers.com
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

rc.local problem

Post by x2oxen »

just paste the contents of your rc.local file
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
Post Reply