]> git.armaanb.net Git - asd-repo.git/blobdiff - xorg/xorg-server/post-install
Restructure repository
[asd-repo.git] / xorg / xorg-server / post-install
diff --git a/xorg/xorg-server/post-install b/xorg/xorg-server/post-install
new file mode 100755 (executable)
index 0000000..9bf24e0
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Give Xorg setgid to /dev/input.
+chown :input "$KISS_ROOT/usr/bin/Xorg"
+chmod g+s    "$KISS_ROOT/usr/bin/Xorg"
+
+cat <<EOF
+
+NOTE: You must be a part of the \e[1mvideo\e[m group
+      for rootless xorg-server to work.
+
+NOTE: This groups based permissions model may not
+      be suitable if KISS will be used as a multi
+      user system. Further configuration can be
+      done at your own discretion.
+
+-> addgroup USER video
+
+EOF