0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

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