Unverified Commit 4edfeafa authored by WilliButz's avatar WilliButz Committed by GitHub
Browse files

initrd: implement panic-on-fail interpreterless (#390698)

parents 2271c42f deb045e0
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -703,10 +703,11 @@ in
            "|stage1panic"
          ];
        };
        script = ''
          echo c > /proc/sysrq-trigger
        '';
        serviceConfig.Type = "oneshot";
        serviceConfig = {
          Type = "oneshot";
          ExecStart = "${pkgs.coreutils}/bin/echo c";
          StandardOutput = "file:/proc/sysrq-trigger";
        };
      };
    };
  };