Alrighty this should execute correctly then, auto-mount ACTUALLY fixed

This commit is contained in:
Lillian Violet 2024-03-21 14:15:16 +01:00
parent b52ae19a64
commit 15a24a1a61

View file

@ -24,8 +24,8 @@
scriptArgs = "%i"; scriptArgs = "%i";
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.toybox}/bin/echo ${pkgs.auto-mount} add %i"; ExecStart = "${pkgs.auto-mount}/bin/auto-mount add %i";
ExecStop = "${pkgs.toybox}/bin/echo ${pkgs.auto-mount} remove %i"; ExecStop = "${pkgs.auto-mount}/bin/auto-mount remove %i";
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
}; };