Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 23 December 2024, 09:51:58 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Where a rc.local file in Endian 2.5
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Where a rc.local file in Endian 2.5  (Read 20782 times)
yaley
Jr. Member
*
Offline Offline

Posts: 1


« on: Wednesday 04 January 2012, 07:11:40 pm »

Hi

I try to test Endian 2.5 but i don't see rc.local??

Thanks

Logged
endianupdate
Full Member
***
Offline Offline

Posts: 53


« Reply #1 on: Friday 27 January 2012, 09:04:31 pm »

rc.local appears to be missing on Endian 2.5 as with Redhat/Fedora

find / -name 'rc.local' returns nothing

just SSH to your Endian as root and enter the command

nano /etc/rc.d/rc.local to create it

Hope this helps
Logged
astaq
Jr. Member
*
Offline Offline

Posts: 4


« Reply #2 on: Sunday 12 February 2012, 01:37:25 pm »

created rc.local at /etc/rc.d/ directory did not give any good result. Also in the /etc/rc.d./start/ directory. Any others suggestions?.
Logged
mrubs
Jr. Member
*
Offline Offline

Gender: Male
Posts: 7



WWW
« Reply #3 on: Sunday 12 February 2012, 11:57:34 pm »

Yes, I find it. Great suggestion.
Logged

kashifmax
Sr. Member
****
Offline Offline

Gender: Female
Posts: 108


« Reply #4 on: Tuesday 03 April 2012, 07:44:28 pm »

Yes, I find it. Great suggestion.

Where is the location dear... Huh
Logged
psitech
Jr. Member
*
Offline Offline

Posts: 4


« Reply #5 on: Tuesday 03 April 2012, 10:13:13 pm »

Hi, i try to create a exec file /etc/rc.local /etc/rc.d/rc.local /etc/rc.d/init.d/rc.local /etc/rc.d/start/rc.local but anyone was execute when the endian start, someone know the solution for this ?
Logged
andre.bolzan
Jr. Member
*
Offline Offline

Posts: 1


« Reply #6 on: Saturday 01 September 2012, 06:03:43 am »

I did the work as follows:


Includes the following line in /etc/rc.d/rc.ipac:

Code:
### Start of Script called initialization, do not change - By Andre Bolzan on 31/08/2012 ###

. /Etc/rc.d/init.d/rc.local

### End of Script initialization###


I created the file rc.local in /etc/rc.d/init.d/

Code:

#!/Bin/sh
### This script is not the standard Endian 2.5.1, was created to ###

### Startup Scrips - by Bolzan Andre On 31/08/2012 ###
### Meet the demand: creating routes between units ###
### So automatically during system startup. ###
### Running this script and gave file: ###
### /Etc/rc.d/rc.ipac ###
### In this file, you can include any command. ###


route add-net 192.168.1.0/24 gw 192.168.200.1
route add-net 192.168.0.0/24 gw 192.168.200.1

### end script ###


Translated from Portuguese into English by google translater.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.125 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com