Skip to content

Commit

Permalink
Fix: wrong filename
Browse files Browse the repository at this point in the history
  • Loading branch information
radio24 committed Sep 29, 2024
1 parent 9013681 commit a71d32c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install/run_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ if [ "$STEP_NUMBER" -le "10" ]; then
sudo cp etc/hostapd/hostapd.conf /etc/hostapd/
echo -e "${RED}[+]${NOCOLOR} Copied /etc/hostapd/hostapd.conf -- backup done"
(sudo cp /etc/iptables.ipv4.nat /etc/iptables.ipv4.nat.bak) 2>/dev/null
if [ "$ON_A_CLOUD" == "--on_a_cloud" ]; then sudo cp etc/iptables-cloud.ipv4.nat /etc/iptables.ipv4.nat
if [ "$ON_A_CLOUD" == "--on_a_cloud" ]; then sudo cp etc/iptables.ipv4-cloud.nat /etc/iptables.ipv4.nat
elif [ "$TORBOX_MINI" == "--torbox_mini" ]; then sudo cp etc/iptables.ipv4-mini.nat /etc/iptables.ipv4.nat
else sudo cp etc/iptables.ipv4.nat /etc/; fi
echo -e "${RED}[+]${NOCOLOR} Copied /etc/iptables.ipv4.nat -- backup done"
Expand Down
2 changes: 1 addition & 1 deletion install/run_install_on_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ echo -e "${RED}[+]${NOCOLOR} Copied /etc/dhcp/dhcpd.conf -- backup done"
cp etc/hostapd/hostapd.conf /etc/hostapd/
echo -e "${RED}[+]${NOCOLOR} Copied /etc/hostapd/hostapd.conf -- backup done"
(cp /etc/iptables.ipv4.nat /etc/iptables.ipv4.nat.bak) 2>/dev/null
if [ "$ON_A_CLOUD" == "--on_a_cloud" ]; then cp etc/iptables-cloud.ipv4.nat /etc/iptables.ipv4.nat
if [ "$ON_A_CLOUD" == "--on_a_cloud" ]; then cp etc/iptables.ipv4-cloud.nat /etc/iptables.ipv4.nat
else cp etc/iptables.ipv4.nat /etc/; fi
echo -e "${RED}[+]${NOCOLOR} Copied /etc/iptables.ipv4.nat -- backup done"
(cp /etc/motd /etc/motd.bak) 2>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion install/run_install_on_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ echo -e "${RED}[+]${NOCOLOR} Copied /etc/dhcp/dhcpd.conf -- backup done"
sudo cp etc/hostapd/hostapd.conf /etc/hostapd/
echo -e "${RED}[+]${NOCOLOR} Copied /etc/hostapd/hostapd.conf -- backup done"
(sudo cp /etc/iptables.ipv4.nat /etc/iptables.ipv4.nat.bak) 2>/dev/null
if [ "$ON_A_CLOUD" == "--on_a_cloud" ]; then sudo cp etc/iptables-cloud.ipv4.nat /etc/iptables.ipv4.nat
if [ "$ON_A_CLOUD" == "--on_a_cloud" ]; then sudo cp etc/iptables.ipv4-cloud.nat /etc/iptables.ipv4.nat
else sudo cp etc/iptables.ipv4.nat /etc/; fi
echo -e "${RED}[+]${NOCOLOR} Copied /etc/iptables.ipv4.nat -- backup done"
sudo mkdir /etc/update-motd.d/bak
Expand Down

0 comments on commit a71d32c

Please sign in to comment.