mirror of
https://github.com/gnu4cn/ccna60d.git
synced 2024-05-21 04:55:00 +08:00
Remove something.
This commit is contained in:
parent
1477a986e3
commit
27b15ee074
27
git-push.sh
27
git-push.sh
@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
TRIES=4
|
||||
|
||||
push () {
|
||||
git add .
|
||||
git commit -m "$1"
|
||||
push_success=0
|
||||
push_tries=0
|
||||
until [ ${push_success} -eq 1 ] || [ ${push_tries} -gt ${TRIES} ]
|
||||
do
|
||||
git push
|
||||
if [ $? -eq 0 ]; then
|
||||
push_success=1
|
||||
fi;
|
||||
push_tries=$((push_tries+1))
|
||||
done
|
||||
}
|
||||
|
||||
commit_msg=""
|
||||
|
||||
if [ "$1" == "" ]; then
|
||||
echo "No commit -m string."
|
||||
commit_msg="Daily update. `date "+%F %H:%M:%S"`"
|
||||
push "${commit_msg}"
|
||||
else
|
||||
push "$1"
|
||||
fi;
|
10
owrtss.md
10
owrtss.md
@ -1,10 +0,0 @@
|
||||
1. 安装OpenWRT.
|
||||
2. opkg update; opkg install wget;
|
||||
3. 上传 ss.
|
||||
4. ln -s libpolar.so
|
||||
5. git clone 配置文件,并移除 banner、shadow、uci-defaults
|
||||
6. scp -r 配置文件
|
||||
7. 修改/etc/shadowsocks.json
|
||||
8. /etc/init.d/shadowsocks enable
|
||||
9. /etc/init.d/dnsmask restart; /etc/init.d/shadowsocks restart
|
||||
10. bingo!
|
Loading…
Reference in New Issue
Block a user