summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-11-15 01:35:26 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-11-15 01:35:26 +0100
commitb561620c7ba70e0878744767d2601b0a0b76bbed (patch)
tree5a1d891940a826aa4b9350938ac6a9de7d9af163 /root
parentc (diff)
downloadn-b561620c7ba70e0878744767d2601b0a0b76bbed.tar
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.gz
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.bz2
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.lz
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.xz
n-b561620c7ba70e0878744767d2601b0a0b76bbed.tar.zst
n-b561620c7ba70e0878744767d2601b0a0b76bbed.zip
Diffstat (limited to 'root')
-rw-r--r--root/.ssh/config5
-rwxr-xr-xroot/posodobi.sh1
2 files changed, 6 insertions, 0 deletions
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=$?