version 1.1.2.1, 2014/01/21 09:19:06
|
version 1.1.2.4, 2014/01/24 00:49:37
|
Line 20 export HOME PATH TERM BLOCKSIZE EDITOR PAGER
|
Line 20 export HOME PATH TERM BLOCKSIZE EDITOR PAGER
|
|
|
SYSPKGDIR="/var/frm" |
SYSPKGDIR="/var/frm" |
BOOTLOG="/var/run/elwix.boot" |
BOOTLOG="/var/run/elwix.boot" |
XML="/etc/config.xml" |
|
|
|
MGMT_VLAN="4093" |
MGMT_VLAN="4093" |
MGMT_NAME="mgmt" |
MGMT_NAME="mgmt" |
Line 37 boot()
|
Line 36 boot()
|
cd /elwix/altroot |
cd /elwix/altroot |
pax -rw -pe var / |
pax -rw -pe var / |
chmod 1777 /var/tmp |
chmod 1777 /var/tmp |
|
mount /elwix/etc |
cd / |
cd / |
} |
} |
|
|
Line 49 options()
|
Line 49 options()
|
passwd() |
passwd() |
{ |
{ |
echo "Syncing password database ..." | tee -a $BOOTLOG |
echo "Syncing password database ..." | tee -a $BOOTLOG |
pwd_mkdb /etc/master.passwd | tee -a $BOOTLOG 1>/dev/null 2>&1 | # pwd_mkdb /etc/master.passwd | tee -a $BOOTLOG 1>/dev/null 2>&1 |
rm -f /etc/nologin |
rm -f /etc/nologin |
} |
} |
|
|
Line 58 local()
|
Line 58 local()
|
echo "Configurate localhost ..." | tee -a $BOOTLOG |
echo "Configurate localhost ..." | tee -a $BOOTLOG |
ifconfig lo0 127.0.0.1 | tee -a $BOOTLOG 1>/dev/null 2>&1 |
ifconfig lo0 127.0.0.1 | tee -a $BOOTLOG 1>/dev/null 2>&1 |
hostname `cat /etc/myname` |
hostname `cat /etc/myname` |
if [ -x /usr/bin/xmler ]; then |
|
hostname `xmler -g /elwix/system/hostname $XML` |
|
domainname `xmler -g /elwix/system/domain $XML` |
|
fi |
|
} |
} |
|
|
geteth() |
geteth() |