diff options
author | Patrick Murphy <Patrick.Murphy@multitech.com> | 2020-06-07 12:35:47 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-06-18 20:22:08 -0500 |
commit | 8c303e50a8417f76ea3a5a0ac510639ce06ccde6 (patch) | |
tree | 74feb7f3eca6a326b4d08d94286c30f8f45dc4d6 /recipes-core | |
parent | d6b5e9be761793046ba08acc4d811fca6a3d1d64 (diff) | |
download | meta-mlinux-8c303e50a8417f76ea3a5a0ac510639ce06ccde6.tar.gz meta-mlinux-8c303e50a8417f76ea3a5a0ac510639ce06ccde6.tar.bz2 meta-mlinux-8c303e50a8417f76ea3a5a0ac510639ce06ccde6.zip |
removed erroneous password reset in config.init
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/multitech/config/config.init | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/recipes-core/multitech/config/config.init b/recipes-core/multitech/config/config.init index d821f4c..20080c1 100644 --- a/recipes-core/multitech/config/config.init +++ b/recipes-core/multitech/config/config.init @@ -89,16 +89,6 @@ case $1 in echo "Extract original wifi related files" tar -xvf ${WIFITAR} fi - if [ -f /etc/default_pass ]; then - echo "Defaulting root password" - PASSHASH=`cat /etc/default_pass` - PASSFILE=/etc/shadow - if [ ! -e /etc/shadow ]; then - PASSFILE=/etc/passwd - fi - sed -i "s%^root:[^:]*:%root:${PASSHASH}:%" $PASSFILE - fi - rm -f force_defaults fi |