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:
parent
b4528a696a
commit
1dce7c0b82
|
@ -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
|
||||
'';
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue