version 1.6.2.2, 2017/06/16 09:33:27
|
version 1.6.2.3, 2017/06/19 13:14:03
|
Line 33 boot()
|
Line 33 boot()
|
cd /elwix/altroot |
cd /elwix/altroot |
pax -rw -pe var / |
pax -rw -pe var / |
chmod 1777 /var/tmp |
chmod 1777 /var/tmp |
mount -tunionfs -onoatime /var/db/etc /elwix/etc | # mount -tunionfs -onoatime /var/db/etc /elwix/etc |
mount -ttmpfs tmpfs /var/db/pkg |
mount -ttmpfs tmpfs /var/db/pkg |
cd / |
cd / |
} |
} |
Line 41 boot()
|
Line 41 boot()
|
restore_uboot() |
restore_uboot() |
{ |
{ |
echo "Restore configz from NAND ..." |
echo "Restore configz from NAND ..." |
/etc/rc.cfg load /etc | cfexec /etc/rc.cfg load /etc |
} |
} |
|
|
options() |
options() |
Line 53 options()
|
Line 53 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 | cfexec pwd_mkdb /etc/master.passwd | tee -a $BOOTLOG 1>/dev/null 2>&1 |
rm -f /etc/nologin |
rm -f /etc/nologin |
} |
} |
|
|