diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 2e76474..9dbc792 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -164,9 +164,26 @@ "/preinit".source = pkgs.writeScript "preinit" '' #!${config.system.build.extraUtils}/bin/ash - set -x export PATH=${config.system.build.extraUtils}/bin - csrtool all-in-order + # csrtool all-in-order + + if read -t 3 -p 'press enter for shell'; then + ash + fi + + set -x + + ip addr + cat /proc/interrupts + + modprobe xxvnet_carv + + plictool -c2 + plictool -c2 + plictool -c2 + + ip addr + exec /init ''; };