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