-
Notifications
You must be signed in to change notification settings - Fork 5
/
reset.sh
executable file
·36 lines (36 loc) · 1.35 KB
/
reset.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
rm -r user*
mkdir user1
cp *.py user1
cp -r pt user1/pt
cp -r Yashttpd user1/Yashttpd
sed -i '' 's/listen_port = 8900/listen_port = 8901/g' ./user1/custom.py
sed -i '' 's/gui_port = 8700/gui_port = 8701/g' ./user1/custom.py
sed -i '' 's/brain wallet/brain wallet 1/g' ./user1/custom.py
mkdir user2
cp *.py user2
cp -r pt user2/pt
cp -r Yashttpd user2/Yashttpd
sed -i '' 's/listen_port = 8900/listen_port = 8902/g' ./user2/custom.py
sed -i '' 's/gui_port = 8700/gui_port = 8702/g' ./user2/custom.py
sed -i '' 's/brain wallet/brain wallet 2/g' ./user2/custom.py
mkdir user3
cp *.py user3
cp -r pt user3/pt
cp -r Yashttpd user3/Yashttpd
sed -i '' 's/listen_port = 8900/listen_port = 8903/g' ./user3/custom.py
sed -i '' 's/gui_port = 8700/gui_port = 8703/g' ./user3/custom.py
sed -i '' 's/brain wallet/brain wallet 3/g' ./user3/custom.py
mkdir user4
cp *.py user4
cp -r pt user4/pt
cp -r Yashttpd user4/Yashttpd
sed -i '' 's/listen_port = 8900/listen_port = 8904/g' ./user4/custom.py
sed -i '' 's/gui_port = 8700/gui_port = 8704/g' ./user4/custom.py
sed -i '' 's/brain wallet/brain wallet 4/g' ./user4/custom.py
mkdir user5
cp *.py user5
cp -r pt user5/pt
cp -r Yashttpd user5/Yashttpd
sed -i '' 's/listen_port = 8900/listen_port = 8905/g' ./user5/custom.py
sed -i '' 's/gui_port = 8700/gui_port = 8705/g' ./user5/custom.py
sed -i '' 's/brain wallet/brain wallet 5/g' ./user5/custom.py