rename *-recursive.* to *-tree.*

This commit is contained in:
陆柯 2023-03-11 08:22:10 +08:00
parent 55d98b487a
commit de6baa9d64
13 changed files with 7 additions and 3 deletions

View File

@ -57,8 +57,10 @@ echo
if [ -e /etc/ssh/sshd_config ]
then
echo "=== Disallow root login: #PermitRootLogin yes"
sed -i "s|^PermitRootLogin |#PermitRootLogin |g" /etc/ssh/sshd_config
echo "=== Deny root login: PermitRootLogin no"
sed -i "s|PermitRootLogin |#PermitRootLogin |g" /etc/ssh/sshd_config && echo 'PermitRootLogin no' >> /etc/ssh/sshd_config
echo "=== Allow password login: PasswordAuthentication yes"
sed -i "s|PasswordAuthentication |PasswordAuthentication |g" /etc/ssh/sshd_config && echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config
service sshd restart
echo
fi

0
git-pull-recursive.sh → git-pull-tree.sh Executable file → Normal file
View File

0
git-push-recursive.sh → git-push-tree.sh Executable file → Normal file
View File

2
nixhome/.gitignore vendored
View File

@ -70,7 +70,7 @@ _desktop.ini
/db.json
# wo
envar-*.gitignore.js
*.gitignore.*
# 服务端
/_archive/*
/_datastore/*

0
npm-boot-recursive.sh → npm-boot-tree.sh Executable file → Normal file
View File

View File

@ -8,7 +8,9 @@
# 自定义的后缀名,凡有 sfignore 后缀的都不进行同步
*.sfignore
*.sfignore.*
*.sfignore/
*.sfignore.*/
.DS_Store
*/.DS_Store