Your Ad Here
 
Questions ? info@easylivecd.com

EasyLiveCD.com
LiveCD Software Solutions
Linux LiveCD Router new
Download free
Router Firewall PRO new
Hotspot Server
VoIP Server
Documentation
Admin Book
VoIP Book
Printed Books
Questions ?
info@easylivecd.com
Hardware
WiFi
Firewall
VoIP
IP Camera
News
VoIP
Linux Router
Hotspot
WiFi Blog
VoIP forum
Linux forums
Tutorials new
WiFi.com.ar


Languages
Google Translations
GE IT FR CN PT JA KO AR
Write to us info@easylivecd.com

Documentation Index
Linux LiveCD Router - ConfigSave HowTo


As of cdrouter 2.0.26 config files are not restored from 
floppy by default. Instead upon boot cdrouter checks for 
the following rc.local startup scripts

/mnt/hda2/startup/rc.local
/mnt/hdb2/startup/rc.local
/mnt/hdc2/startup/rc.local
/mnt/sda1/startup/rc.local
/mnt/sdb1/startup/rc.local

an example rc.local script is


#!/bin/sh
#
# /etc/rc.d/rc.local:  Local system initialization script.
#
# Put any local setup commands in here:


#
# refresh base config
#

cp /mnt/hda2/startup/hosts /etc/hosts
cp /mnt/hda2/startup/HOSTNAME /etc/HOSTNAME
cp /mnt/hda2/startup/rc.inet1 /etc/rc.d/rc.inet1
cp /mnt/hda2/startup/resolv.conf /etc/resolv.conf
cp /mnt/hda2/startup/passwd /etc/passwd
cp /mnt/hda2/startup/shadow /etc/shadow
cp /mnt/hda2/startup/shorewall /etc/

#
# config networking
#

sh /etc/rc.d/rc.inet1

# IMPORTANT INITIAL CONFIG
#
# copy sesame runtime scripts to your hard disk
# mv /usr/local/* /mnt/hda2/usr/local

 cd /usr/local; rm -fr sesame
 ln -s /mnt/hda2/usr/local/sesame /usr/local/sesame


#
#startup shorewall firewall
#

shorewall start

#
# Web server httpd 
#

/usr/sbin/apachectl start



#
# Webmin Start (WEB Administrator)
#

/etc/webmin/start >/dev/null 2>&1 Documentation Index




Products and Services Linux LiveCD Router (Free Download) | Download | Router PRO | Hotspot Server | Media Player | Samba File Server | VoIP Server | IP Camera Server | CDRouter Admin Manual | VoIP Server Book | Printed Book Format | Online Documentation |
Noticias Noticias WIFI News | Linux Router | VoIP | Hotspot new | Linux and WIFI Forums | ba.net



Contact us info@easylivecd.com
© EasyLiveCD.com, FonoSIP.com, WiFi.com.ar, BA.NET
>