diff options
| -rwxr-xr-x | init | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,12 +1,12 @@ - #!/bin/sh -pacman-key --init -pacman-key --populate -pacman-key --refresh-keys -pacman -Syy +#!/bin/sh +pacman -Syu pacman -S --noconfirm tmux git systemctl start sshd echo "root:welcome" | chpasswd - hostname=$(</etc/hostname) -echo ""; echo ""; echo "init complete. "; echo "you may ssh root@$hostname using the password 'welcome'" +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'" |
