version 1.10.2.7, 2017/06/21 14:11:29
|
version 1.10.2.10, 2018/07/06 08:30:29
|
Line 9
|
Line 9
|
|
|
### Dont edit this file !!! |
### Dont edit this file !!! |
|
|
|
Die() { |
|
echo -n "EXIT: " >&2; echo "$@" >&2 |
|
exit 1 |
|
} |
|
|
CheckVer() |
CheckVer() |
{ |
{ |
[ -z "$1" -o ! -r "$1" ] && return 1 |
[ -z "$1" -o ! -r "$1" ] && return 1 |
Line 111 MakeFS_var()
|
Line 116 MakeFS_var()
|
touch altroot/var/log/ppp.log |
touch altroot/var/log/ppp.log |
chgrp 69 altroot/var/log/ppp.log |
chgrp 69 altroot/var/log/ppp.log |
|
|
install -v $2/resolv.safe altroot/var/run/resolv.conf | # install -v $2/resolv.safe altroot/var/run/resolv.conf |
install -v ${WORLD}/usr/share/keys/pkg/trusted/* altroot/pkg/keys/trusted |
install -v ${WORLD}/usr/share/keys/pkg/trusted/* altroot/pkg/keys/trusted |
|
|
cd - |
cd - |
Line 154 MakeFS_etc()
|
Line 159 MakeFS_etc()
|
ln -sf /usr/share/zoneinfo/${TIMEZONE} $1/etc/localtime; |
ln -sf /usr/share/zoneinfo/${TIMEZONE} $1/etc/localtime; |
ln -sf /usr/share/misc/termcap $1/etc/termcap; |
ln -sf /usr/share/misc/termcap $1/etc/termcap; |
|
|
ln -sf /var/run/resolv.conf $1/etc/resolv.conf; | # ln -sf /var/run/resolv.conf $1/etc/resolv.conf; |
|
|
# ln -sf /elwix/pkg/etc/mk.conf $1/etc/mk.conf; |
# ln -sf /elwix/pkg/etc/mk.conf $1/etc/mk.conf; |
|
|
echo ${TARGET_ARCH} >$1/etc/platform; | echo "${TARGET_ARCH} $3" >$1/etc/platform; |
|
|
Create_etc_motd $1/etc/motd $3; |
Create_etc_motd $1/etc/motd $3; |
|
|