|
@@ -1226,10 +1226,6 @@ export TMP=/tmp/ TMPDIR=/tmp/
|
1226
|
1226
|
|
1227
|
1227
|
username=$MY_USERNAME
|
1228
|
1228
|
echo $"warning: creating initial user $username with well known password!"
|
1229
|
|
-if [[ $VARIANT == "meshclient" || $VARIANT == "meshusb" ]]; then
|
1230
|
|
- # on the mesh client don't use a password by default
|
1231
|
|
- MY_PASSWORD=''
|
1232
|
|
-fi
|
1233
|
1229
|
password=$MY_PASSWORD
|
1234
|
1230
|
chroot "$rootdir" adduser --gecos $username --disabled-password $username
|
1235
|
1231
|
echo $username:$password | chroot $rootdir /usr/sbin/chpasswd
|