summaryrefslogtreecommitdiff
path: root/user/polkit-sd/polkit-sd.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/polkit-sd/polkit-sd.pre-install')
-rw-r--r--user/polkit-sd/polkit-sd.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/polkit-sd/polkit-sd.pre-install b/user/polkit-sd/polkit-sd.pre-install
new file mode 100644
index 000000000..816f89236
--- /dev/null
+++ b/user/polkit-sd/polkit-sd.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+useradd -r -s /sbin/nologin -d /usr/lib/polkit-1 -M -U polkitd 2>/dev/null
+
+exit 0