aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/lightdm.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-30 12:44:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-30 12:44:56 +0000
commit18720d75a24aeb7e76ac539698a504e99fb9478d (patch)
tree27ca2999f73560a9d657fdcc4de5eb3c62c0cc98 /testing/lightdm/lightdm.pre-install
parent0e1f8f3c88e3b4eb379ac5341427c7c3c8625944 (diff)
downloadaports-18720d75a24aeb7e76ac539698a504e99fb9478d.tar.bz2
aports-18720d75a24aeb7e76ac539698a504e99fb9478d.tar.xz
testing/lightdm: add user, initd script, fix localstatedir
Diffstat (limited to 'testing/lightdm/lightdm.pre-install')
-rw-r--r--testing/lightdm/lightdm.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/lightdm/lightdm.pre-install b/testing/lightdm/lightdm.pre-install
new file mode 100644
index 0000000000..99a5b137e7
--- /dev/null
+++ b/testing/lightdm/lightdm.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+name=lightdm
+addgroup -S $name 2>/dev/null
+adduser -S -H -h /dev/null -s /bin/false -D -G $name $name 2>/dev/null
+exit 0