aboutsummaryrefslogtreecommitdiffstats
path: root/main/backuppc/backuppc.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/backuppc/backuppc.pre-install')
-rw-r--r--main/backuppc/backuppc.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/backuppc/backuppc.pre-install b/main/backuppc/backuppc.pre-install
new file mode 100644
index 0000000000..415971d749
--- /dev/null
+++ b/main/backuppc/backuppc.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+addgroup -S backuppc &>/dev/null
+adduser -h /var/lib/backuppc -s /bin/sh -S -D -H -G backuppc -g "BackuPC user" backuppc &>/dev/null
+exit 0