Skip to content

Commit

Permalink
tegra-nvpower: fix nvpower.service to run only once during boot
Browse files Browse the repository at this point in the history
The service unit file was not setting RemainAfterExit, leading
to multiple executions of the setup script during boot, with
subsequent executions generating errors.

Signed-off-by: Matt Madison <[email protected]>
  • Loading branch information
madisongh committed Jul 15, 2023
1 parent 8d8eee9 commit 3c459ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes-bsp/tegra-binaries/tegra-nvpower/nvpower.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Before=graphical.target display-manager.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/libexec/nvpower.sh

[Install]
Expand Down

0 comments on commit 3c459ad

Please sign in to comment.