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