Add a boot menu item for resetting SOI user
This commit is contained in:
parent
697bbc3618
commit
ecdc506a1a
6 changed files with 80 additions and 8 deletions
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Reset user at boot by setting a kernel parameter.
|
||||
Before=basic.target
|
||||
After=local-fs.target systemd-tmpfiles-setup.service
|
||||
DefaultDependencies=no
|
||||
ConditionKernelCommandLine=reset-user
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/local/bin/reset-user
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue