change variable-name and login
This commit is contained in:
parent
701f5c4969
commit
dc6d367ebe
1 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ create_symlinks() {
|
|||
ln -sf "${MSC_BASE}/tmux/tmux.conf" ~/.tmux.conf
|
||||
|
||||
# Configure to use githooks in .githooks, not in standardlocation .git/hooks
|
||||
$SGIT config core.hooksPath .githooks
|
||||
$MSC_GIT config core.hooksPath .githooks
|
||||
# remove all old symlinks in .githooks and relink files from .githooks to .git/hooks
|
||||
# don't know, why i do it here. TODO: Check it
|
||||
find .git/hooks -type l -exec rm {} \; && find .githooks -type f -exec ln -sf ../../{} .git/hooks/ \;
|
||||
|
@ -669,7 +669,7 @@ function checkbkp() {
|
|||
ENTRY
|
||||
if ping -c 3 backup.vpn >/dev/null 2>&1 ; then
|
||||
local SSH="/usr/bin/ssh"
|
||||
local CMD="$SSH -T backup.vpn"
|
||||
local CMD="$SSH -T root@backup.vpn"
|
||||
$CMD /bin/bash << EOF
|
||||
sudo find /srv/nfs/backup -mindepth 1 -maxdepth 1|grep -v -e "git$\|git-backup-repos"|while read i;do printf "%-30s%s\\n" "\$i" \$(ls \$i|tail -n1);done|sort -k 2.1 -r
|
||||
EOF
|
||||
|
@ -684,7 +684,7 @@ function checkbkp-full() {
|
|||
ENTRY
|
||||
if ping -c 3 backup.vpn >/dev/null 2>&1 ; then
|
||||
local SSH="/usr/bin/ssh"
|
||||
local CMD="$SSH -T backup.vpn"
|
||||
local CMD="$SSH -T root@backup.vpn"
|
||||
$CMD /bin/bash << EOF
|
||||
sudo find /srv/nfs/backup -mindepth 1 -maxdepth 1|grep -v -e "git$\|git-backup-repos"|while read i;do printf "%-30s%s\\n" "\$i" \$(ls \$i|tail -n1);done|sort -k 2.1 -r
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue