diff options
author | bnewbold <bnewbold@robocracy.org> | 2013-08-23 06:51:40 +0000 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2013-08-23 06:51:40 +0000 |
commit | e82063b4aa9a4803a8fcb62bea6638112e636a5a (patch) | |
tree | 02c1e86743b2afc8f1c91f4d40ac6279a5a6963e /polystrap | |
parent | bc5deea8babc17d472f21c20a0dfb20c7f3fd471 (diff) | |
download | buildroot-novena-e82063b4aa9a4803a8fcb62bea6638112e636a5a.tar.gz buildroot-novena-e82063b4aa9a4803a8fcb62bea6638112e636a5a.zip |
polystrap: don't fail if openssh not installed
Diffstat (limited to 'polystrap')
-rw-r--r-- | polystrap/default/hooks/empty_password | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polystrap/default/hooks/empty_password b/polystrap/default/hooks/empty_password index 1c486137a..ce4f51582 100644 --- a/polystrap/default/hooks/empty_password +++ b/polystrap/default/hooks/empty_password @@ -1,2 +1,2 @@ sed -i 's/\(root:\)[^:]*\(:\)/\1'`openssl passwd -crypt -salt // "" | sed 's/\(\/\|\\\|&\)/\\\&/g'`'\2/' $ROOTDIR/etc/shadow -sed -i 's/\(PermitEmptyPasswords\) no/\1 yes/' $ROOTDIR/etc/ssh/sshd_config +sed -i 's/\(PermitEmptyPasswords\) no/\1 yes/' $ROOTDIR/etc/ssh/sshd_config || true |