WantedBy=multi-user.target
EOF
systemctl enable /etc/systemd/system/dhclient.service
+ elif [ "$1" = "thinkpad" ]; then
+ if [ "$2" = "X200s" ]; then
+ echo 'X200s' > /etc/hostname
+ elif [ "$2" = "T450s" ]; then
+ echo 'T450s' > /etc/hostname
+ fi
fi
# Package management config, system upgrade.
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/bin/symlink.sh '$1
+su plom -c '/home/plom/config/bin/symlink.sh '$1 $2
# Set up editor.
mkdir -p .vimbackups