Skip to content

Commit 84e77e3

Browse files
author
clowwindy
committed
Update stackscript.sh
1 parent 358593f commit 84e77e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stackscript.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PORTS_USED=`echo $PORTS_USED|sed 's/\s/$\|^/g'`
99
PORTS_USED="^${PORTS_USED}$"
1010

1111
SS_PASSWORD=`dd if=/dev/random bs=32 count=1 | md5sum | cut -c-32`
12-
SS_PORT=`seq 10025 9000 | grep -v -E "$PORTS_USED" | shuf -n 1`
12+
SS_PORT=`seq 1025 9000 | grep -v -E "$PORTS_USED" | shuf -n 1`
1313

1414
wget https://raw.githubusercontent.com/shadowsocks/stackscript/master/shadowsocks.json -O /etc/shadowsocks.json
1515
wget https://raw.githubusercontent.com/shadowsocks/stackscript/master/shadowsocks.conf -O /etc/supervisor/conf.d/shadowsocks.conf

0 commit comments

Comments
 (0)