Skip to content

Commit

Permalink
This will remove the anoying SSH warning during the log in (which is …
Browse files Browse the repository at this point in the history
…not valid)
  • Loading branch information
radio24 committed Nov 26, 2021
1 parent 6776820 commit 044b578
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions first_use
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ while [ $FRESHINSTALLED -gt 0 ]; do
sudo killall systemd
sleep 5
sudo userdel -r pi
# NEW v.0.5.0: This will remove the anoying SSH warning during the log in (which is not valid)
sudo sed -i "/pi:x:1000:1000:,,,:\/home\/pi:\/bin\/bash/d" /etc/passwd
sudo sed -i "/^pi:/d" /etc/shadow
fi
clear
echo -e "${WHITE}[+] Fresh installation detected - we will reboot TorBox!${NOCOLOR}"
Expand Down
2 changes: 1 addition & 1 deletion install_network_drivers
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ if [ "$CHECK_OS" == "Raspbian" ]; then
echo -e "${RED}[+] Installing additional network drivers...${NOCOLOR}"
echo -e " "
echo -e "${RED}[+] Installing the Realtek RTL8821AU Wireless Network Driver ${NOCOLOR}"
git clone https://github.com/morrownr/8821au-20210708-20210708.git
git clone https://github.com/morrownr/8821au-20210708.git
cd 8821au
cp ~/torbox/install/Network/install-rtl8821au.sh .
chmod a+x install-rtl8821au.sh
Expand Down

0 comments on commit 044b578

Please sign in to comment.