diff --git a/git-push.sh b/git-push.sh deleted file mode 100755 index 684b437..0000000 --- a/git-push.sh +++ /dev/null @@ -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; diff --git a/owrtss.md b/owrtss.md deleted file mode 100644 index 661dd66..0000000 --- a/owrtss.md +++ /dev/null @@ -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! diff --git a/push.sh b/push.sh deleted file mode 100755 index a9e17a3..0000000 --- a/push.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -git add * - -if [ "$1" = "" ] -then - echo "没有commit -m的输入,请输入commit -m内容,以[ENTER]结束:" - read msg - git commit -m "$msg" - git push -else - git commit -m "$1" - git push -fi