rename *-recursive.* to *-tree.*
This commit is contained in:
parent
55d98b487a
commit
de6baa9d64
@ -57,8 +57,10 @@ echo
|
|||||||
|
|
||||||
if [ -e /etc/ssh/sshd_config ]
|
if [ -e /etc/ssh/sshd_config ]
|
||||||
then
|
then
|
||||||
echo "=== Disallow root login: #PermitRootLogin yes"
|
echo "=== Deny root login: PermitRootLogin no"
|
||||||
sed -i "s|^PermitRootLogin |#PermitRootLogin |g" /etc/ssh/sshd_config
|
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
|
service sshd restart
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
0
git-pull-recursive.sh → git-pull-tree.sh
Executable file → Normal file
0
git-pull-recursive.sh → git-pull-tree.sh
Executable file → Normal file
0
git-push-recursive.sh → git-push-tree.sh
Executable file → Normal file
0
git-push-recursive.sh → git-push-tree.sh
Executable file → Normal file
2
nixhome/.gitignore
vendored
2
nixhome/.gitignore
vendored
@ -70,7 +70,7 @@ _desktop.ini
|
|||||||
/db.json
|
/db.json
|
||||||
|
|
||||||
# wo
|
# wo
|
||||||
envar-*.gitignore.js
|
*.gitignore.*
|
||||||
# 服务端
|
# 服务端
|
||||||
/_archive/*
|
/_archive/*
|
||||||
/_datastore/*
|
/_datastore/*
|
||||||
|
0
npm-boot-recursive.sh → npm-boot-tree.sh
Executable file → Normal file
0
npm-boot-recursive.sh → npm-boot-tree.sh
Executable file → Normal file
@ -8,7 +8,9 @@
|
|||||||
|
|
||||||
# 自定义的后缀名,凡有 sfignore 后缀的都不进行同步
|
# 自定义的后缀名,凡有 sfignore 后缀的都不进行同步
|
||||||
*.sfignore
|
*.sfignore
|
||||||
|
*.sfignore.*
|
||||||
*.sfignore/
|
*.sfignore/
|
||||||
|
*.sfignore.*/
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*/.DS_Store
|
*/.DS_Store
|
||||||
|
Loading…
Reference in New Issue
Block a user