summaryrefslogtreecommitdiff
path: root/packaging/factory-reset.service
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/factory-reset.service')
-rw-r--r--packaging/factory-reset.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/factory-reset.service b/packaging/factory-reset.service
index ab6a4a4..97277f5 100644
--- a/packaging/factory-reset.service
+++ b/packaging/factory-reset.service
@@ -7,7 +7,8 @@ ConditionPathExists=|/opt/.factoryreset
Type=oneshot
ExecStartPre=/usr/bin/rm -f /opt/.factoryreset
ExecStart=/usr/bin/factory-reset
-SmackProcessLabel=System
+SmackProcessLabel=System::Privileged
+CapabilityBoundingSet=cap_dac_override cap_sys_admin cap_mac_override cap_mac_admin cap_sys_boot cap_chown cap_fowner
[Install]
WantedBy=multi-user.target