Configuration of X11 i3wm tty
This commit is contained in:
18
tty/deploy.sh
Executable file
18
tty/deploy.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
HOSTNAME="ArchTest"
|
||||
|
||||
#Switch to the script directory
|
||||
_BASENAME=$(basename "$0")
|
||||
cd "$(dirname "$0")" || _exit 1
|
||||
|
||||
cp issue /etc/issue
|
||||
cp inputrc /etc/inputrc
|
||||
cp bash.bashrc /etc/bash.bashrc
|
||||
cp bash.bashaliases /etc/bash.bashaliases
|
||||
cp bash.bashexport /etc/bash.bashexport
|
||||
mkdir -p /etc/systemd/system/getty@tty1.service.d/
|
||||
cp autologin.conf /etc/systemd/system/getty@tty1.service.d/override.conf
|
||||
|
||||
printf "%s\n" "$HOSTNAME" > /etc/hostname
|
||||
sed -i "s|^PRETTY_NAME.*|PRETTY_NAME=\"$HOSTNAME\"|" /etc/os-release
|
||||
Reference in New Issue
Block a user