--- elwix/build_fs.sh 2011/10/18 09:02:05 1.2 +++ elwix/build_fs.sh 2011/10/20 23:44:52 1.2.2.2 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.2 2011/10/18 09:02:05 misho Exp $ +# $Id: build_fs.sh,v 1.2.2.2 2011/10/20 23:44:52 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -164,6 +164,8 @@ _EOF mketc() { echo "+++ Build ELWIX FS etc directory ..." + find ${FS_ETC} -name .#\* -exec rm -f {} \; + InstallDir ${FS_ETC} $1/etc chown -R root:wheel $1/etc; @@ -176,6 +178,7 @@ mketc() chmod 0600 $1/etc/ssh/ssh_host_dsa_key; chmod 0600 $1/etc/ssh/ssh_host_key; chmod 0600 $1/etc/ssh/ssh_host_rsa_key; + chmod 0600 $1/etc/ssh/ssh_host_ecdsa_key; chmod 0440 $1/etc/sudoers;