blob: 159fe6ad64657e2f2ba1d3939f4a0dd895334602 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
pacman -Sy --noconfirm
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'"
|