summaryrefslogtreecommitdiff
path: root/install.sh
blob: e9ced4186cf90d32cc35cc8c82af3d2765ffbcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Lucas Ferreira

SRC_DIR=/usr/sbin/
UDEV_DIR=/lib/udev/rules.d/
XORG_CONFIG_DIR=/etc/X11/
CONSOLE_KIT_CONFIG_DIR=/etc/ConsoleKit/

echo "Installing 'seat-id' script to name the seats."
cp src/seat-id $SRC_DIR

echo "Installing udev rules for detect the Plugable Dock Stations."
cp udev/50-usbseat.rules $UDEV_DIR

echo "Install Xorg configuration files for two static seats"
cp -r etc/X11/* $XORG_CONFIG_DIR

echo "Configuring ConsoleKit"
cp -r etc/ConsoleKit/* $CONSOLE_KIT_CONFIG_DIR