home · contact · privacy
Separate dotfiles into those used on thinkpad and those used always.
[config] / jessie_start.sh
index f99ac992b749c43480d301f3ac5a2eaf3fdedc4a..9a92ce7883453b4d594d88932f54280aec230113 100755 (executable)
@@ -71,7 +71,7 @@ config/symlink.sh
 useradd -m -s /bin/bash plom
 rm -rf /home/plom/config
 su - plom -c 'git clone http://github.com/plomlompom/config /home/plom/config'
-su plom -c /home/plom/config/symlink.sh
+su plom -c '/home/plom/config/symlink.sh thinkpad'
 
 # Set up editor.
 apt-get -y install vim
@@ -89,7 +89,7 @@ systemctl restart wicd
 echo 'HandleLidSwitch=hibernate' >> /etc/systemd/logind.conf
 
 # Set up sound.
-usermod -G audio plom
+usermod -aG audio plom
 apt-get -y install alsa-utils
 amixer -c 0 sset Master playback 100% unmute
 
@@ -99,7 +99,7 @@ apt-get -y install xserver-xorg xinit xterm i3 i3status dmenu
 # Set up OpenGL and hardware acceleration.
 apt-get -y install libgl1-mesa-dri
 apt-get -y install i965-va-driver
-usermod -G video plom
+usermod -aG video plom
 
 # Install xrandr.
 apt-get -y install x11-xserver-utils
@@ -109,6 +109,9 @@ apt-get -y install xul-ext-pentadactyl
 apt-get -y install vim-gtk
 su plom -c 'mkdir -p /home/plom/downloads/'
 
+# Set up openssh-client.
+apt-get -y install openssh-client
+
 # Clean up.
 rm jessie_start.sh