--- elwix/config/rc.subr 2017/06/28 08:58:51 1.10.2.8 +++ elwix/config/rc.subr 2018/07/06 08:30:29 1.10.2.10 @@ -4,11 +4,16 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: rc.subr,v 1.10.2.8 2017/06/28 08:58:51 misho Exp $ +# $Id: rc.subr,v 1.10.2.10 2018/07/06 08:30:29 misho Exp $ # ### Dont edit this file !!! +Die() { + echo -n "EXIT: " >&2; echo "$@" >&2 + exit 1 +} + CheckVer() { [ -z "$1" -o ! -r "$1" ] && return 1 @@ -158,7 +163,7 @@ MakeFS_etc() # 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;