fix bug 151852
This commit is contained in:
parent
68d77b9a5d
commit
1abbaa0a01
@ -41,6 +41,12 @@ start() {
|
|||||||
if [ -s /etc/localtime ]; then
|
if [ -s /etc/localtime ]; then
|
||||||
cp -fp /etc/localtime ${ROOTDIR}/etc/localtime
|
cp -fp /etc/localtime ${ROOTDIR}/etc/localtime
|
||||||
fi;
|
fi;
|
||||||
|
if [ ! -d ${ROOTDIR}/proc ]; then
|
||||||
|
mkdir -p ${ROOTDIR}/proc
|
||||||
|
fi
|
||||||
|
if ! egrep -q "${ROOTDIR}/proc proc" /etc/mtab; then
|
||||||
|
mount -tproc none ${ROOTDIR}/proc
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
no_write_master_zones=0
|
no_write_master_zones=0
|
||||||
if [ -e /etc/selinux/config ]; then
|
if [ -e /etc/selinux/config ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user