From b561620c7ba70e0878744767d2601b0a0b76bbed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Wed, 15 Nov 2023 01:35:26 +0100 Subject: b --- root/.ssh/config | 5 +++++ root/posodobi.sh | 1 + 2 files changed, 6 insertions(+) (limited to 'root') diff --git a/root/.ssh/config b/root/.ssh/config index c5a1341..8ea73a0 100644 --- a/root/.ssh/config +++ b/root/.ssh/config @@ -5,3 +5,8 @@ Host * ControlPersist yes # EnableEscapeCommandline yes ForwardX11 yes +Host kokoskaSI + HostName github.com + User git + IdentityFile /root/tmp/kokoska + IdentitiesOnly yes diff --git a/root/posodobi.sh b/root/posodobi.sh index 9f75dd4..4b4324d 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -1,6 +1,7 @@ #!/bin/bash if grep "cron" <<<"$@" > /dev/null then + ps aux | grep posod[o]bi > /dev/null || exit 0 i=`sed s,^./,,g <<<$0` t=`mktemp -p "" $i.XXX.html` status=$? -- cgit v1.2.3