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:
parent
b4528a696a
commit
1dce7c0b82
1 changed files with 16 additions and 18 deletions
|
@ -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
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue