3
0
Fork 0
forked from mirrors/nixpkgs

initrd-ssh module: don't check if network is up

We already do this in initrd-network.
This commit is contained in:
Nikolay Amiantov 2016-02-03 16:37:10 +03:00
parent b4528a696a
commit 1dce7c0b82

View file

@ -96,7 +96,6 @@ in
'';
boot.initrd.network.postCommands = ''
if [ -n "$hasNetwork" ]; then
mkdir /dev/pts
mount -t devpts devpts /dev/pts
@ -118,7 +117,6 @@ in
'') cfg.authorizedKeys)}
dropbear -s -j -k -E -m -p ${toString cfg.port}
fi
'';
};