forked from dan/liminix
zyxel dual image; restore deleted params
This commit is contained in:
parent
3df1ec76ff
commit
8b6aa2134e
@ -3,7 +3,7 @@
|
|||||||
, lib
|
, lib
|
||||||
, zyxel-bootconfig
|
, zyxel-bootconfig
|
||||||
}:
|
}:
|
||||||
{ ensureActiveImage, bootConfigurationMtdPartition, kernelCommandLineSource }:
|
{ ensureActiveImage, primaryMtdPartition, secondaryMtdPartition, bootConfigurationMtdPartition, kernelCommandLineSource }:
|
||||||
let
|
let
|
||||||
inherit (liminix.services) oneshot;
|
inherit (liminix.services) oneshot;
|
||||||
activeImageIndex = if ensureActiveImage == "primary" then 0 else 1;
|
activeImageIndex = if ensureActiveImage == "primary" then 0 else 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user