]> git.armaanb.net Git - asd-repo.git/blob - xorg/xorg-server/post-install
Adapt for asd linux
[asd-repo.git] / xorg / xorg-server / post-install
1 #!/bin/sh
2
3 # Give Xorg setgid to /dev/input.
4 chown :input "$ASD_ROOT/usr/bin/Xorg"
5 chmod g+s    "$ASD_ROOT/usr/bin/Xorg"
6
7 cat <<EOF
8
9 NOTE: You must be a part of the \e[1mvideo\e[m group
10       for rootless xorg-server to work.
11
12 NOTE: This groups based permissions model may not
13       be suitable if this install will be used as a
14       multi user system. Further configuration can
15       be done at your own discretion.
16
17 -> addgroup USER video
18
19 EOF