summaryrefslogtreecommitdiff
path: root/init
blob: e2c5eb4139fc4547f8135be56f2cb0f74e1f9b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
pacman -Syu
pacman -S --noconfirm tmux git
systemctl start sshd

echo "root:welcome" | chpasswd
hostname=$(</etc/hostname)
ipaddress=$(ip addr show wlan0 | grep 'inet ' | awk '{print $2}' | cut -d/ -f1)


echo ""; echo ""; echo "init complete. "
echo "you may ssh root@$hostname or ssh root@ipaddress using the password 'welcome'"