From: xf0r3m Date: Sat, 12 Apr 2025 12:05:58 +0000 (+0000) Subject: motd - aktualizacja roku w stopce, github_bkp - dodanie dwoch repozytoriow, backup... X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=35ae6c6fd56a777f0fe181425f8b3c00729e8d03;p=backup.git motd - aktualizacja roku w stopce, github_bkp - dodanie dwoch repozytoriow, backup.sh - dodanie kopiowania bazy SC. --- diff --git a/backup.sh b/backup.sh index 283365e..1de5a1c 100644 --- a/backup.sh +++ b/backup.sh @@ -11,6 +11,9 @@ latestBTDatabaseFile=$(ssh -p 2022 root@searx.morketsmerke.org "ls /home/baza_bt scp -P 2022 root@searx.morketsmerke.org:/home/baza_bt/${latestBTDatabaseFile} $latestBTDatabaseFile; scp -P 2022 root@searx.morketsmerke.org:/etc/searxng/settings.yml searx_config.yml; +latestSCDatabaseFile=$(ssh -p 2022 root@searx.morketsmerke.org "ls /home/baza_sc --sort=time | head -1"); +scp -P 2022 root@searx.morketsmerke.org:/home/baza_sc/${latestSCDatabaseFile} $latestSCDatabaseFile; + mkdir git; export RSYNC_RSH="ssh -p 2022"; diff --git a/github_bkp b/github_bkp index 4445cc8..0b31281 100644 --- a/github_bkp +++ b/github_bkp @@ -28,7 +28,7 @@ function fetchRepos() { } # xf0r3m -reposList="immudex-testing xfcedebian bugtrack immudex-lhe immudex immudex-sdk docs sync archive ipr idle idx-search mrtr update_searxng createtoc archflux greenOS-installer dC-install OTP greenOS greenOSTe greenOSAE dirdiff wificonnector VTMP VTMP2.0 VTMPc trash speedtestmap sc rpi0usbca passwordg ospmanager morketsmerke.net ip-scanner frontpage_morketsmerke FastestOpenBSDMirror django-examples cm cdlcd bandersnatch addsaduser" +reposList="irc.morketsmerke.org PHPSQLLib immudex-testing xfcedebian bugtrack immudex-lhe immudex immudex-sdk docs sync archive ipr idle idx-search mrtr update_searxng createtoc archflux greenOS-installer dC-install OTP greenOS greenOSTe greenOSAE dirdiff wificonnector VTMP VTMP2.0 VTMPc trash speedtestmap sc rpi0usbca passwordg ospmanager morketsmerke.net ip-scanner frontpage_morketsmerke FastestOpenBSDMirror django-examples cm cdlcd bandersnatch addsaduser" ROOT="xf0r3m"; fetchRepos $ROOT $reposList; diff --git a/motd b/motd index 0d5a492..e34429e 100755 --- a/motd +++ b/motd @@ -3,7 +3,7 @@ # Deps: figlet lolcat # Deps GH: https://github.com/xero/figlet-fonts -> /usr/share/figlet-fonts; -echo "hostname" | /usr/bin/figlet -c -f /usr/share/figlet-fonts/3d.flf | lolcat; +echo "hostname" | /usr/bin/figlet | lolcat; echo; echo "Today is: $(date)"; echo; @@ -37,6 +37,6 @@ else fi echo -e " \t$(uptime | grep -o "load.*$" | tr [a-z] [A-Z])"; echo; -echo -e "morketsmerke.org @ 2024 https://github.com/xf0r3m/immudex"; +echo -e "morketsmerke.org @ 2025 https://github.com/xf0r3m/immudex"; echo; echo "====================================================================";