Your Ad Here
 
Questions ? info@easylivecd.com

EasyLiveCD.com
LiveCD Software Solutions
Linux LiveCD Router new
Hotspot Server
Webcam Server Service
VoIP Server
Documentation
Site Search
Questions ?
info@easylivecd.com
Hardware
Webcams
Firewall
VoIP
News
VoIP
Linux Router
Firewall
Hotspot
Twitter
Tutorials new


Languages
es it fr pt de gr fi cn ko ja ru hi ar lang world
Write to us info@easylivecd.com

Indice de la Documentación
Linux LiveCD Router - ConfigSave HowTo


As of cdrouter 2.0.26 config files are not restored from 
floppy by default. instead 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/



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

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


#
#startup shorewall firewall
#

shorewall start

#
# Web server httpd (needed for MRTG)
#

/usr/sbin/apachectl start



#
# Webmin Start (WEB Administrator)
#

/etc/webmin/start >/dev/null 2>&1 Indice de la Documentación




Products and Services Linux LiveCD Router | Hotspot Server | Surveillance Server | Money Back Guarantee | Printed Book Format | Online Documentation |
Follow us on Twitter | ba.net



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