Skip to content

Commit 99c917d

Browse files
author
victor1tnet
committed
removed some extra unnecessary lines
1 parent 78aa97b commit 99c917d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

runme.sh

+2-7
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ stty $OLDCONFIG
2525
#fi
2626
#
2727

28+
#connecting to router
29+
telnet 192.168.1.1
2830
# replacing /etc/opkg.conf file with the one from us
2931
echo 'Updating the opkg configuration file'
3032
cp /etc/opkg.conf /etc/opkg.conf.backup
31-
rm -rf /etc/opkg.conf
3233
cp opkg.conf /etc/
3334
echo 'Done'
3435
#installing aiccu and radvd
@@ -50,7 +51,6 @@ nano aiccu
5051

5152
#the aiccu file that was edited by the user is being copied where it should be
5253
cp /etc/config/aiccu /etc/config/aiccu.backup
53-
rm -rf /etc/config/aiccu
5454
cp aiccu /etc/config/
5555

5656
echo 'aiccu config done'
@@ -68,29 +68,24 @@ echo
6868
Pause
6969

7070
nano radvd
71-
7271
cp /etc/config/radvd /etc/config/radvd.backup
73-
rm -rf /etc/config/radvd
7472
cp radvd /etc/config
7573

7674
echo 'radvd config done'
7775
echo
7876
#we will provide the system file already modified with what it needs for the Copenhagen/Denmark time zone
7977
echo 'The system file is being replaced'
8078
cp /etc/config/system /etc/config/system.backup
81-
rm -rf /etc/config/system
8279
cp system /etc/config
8380
echo
8481
#replacing /etc/config/network file with the one from us
8582
echo 'The network file is being replaced'
8683
cp /etc/config/network /etc/config/network.backup
87-
rm -rf /etc/config/network
8884
cp network /etc/config/
8985
echo
9086
#replacing /etc/config/firewall file with the one from us
9187
echo 'The firewall file is being replaced'
9288
cp /etc/config/firewall /etc/config/firewall.backup
93-
rm -rf /etc/config/firewall
9489
cp firewall /etc/config/
9590
echo
9691
#the system must be rebooted here

0 commit comments

Comments
 (0)