]> gitweb.morketsmerke.org Git - T530.git/commitdiff
Dostosowanie plików do T530.
authorxf0r3m <jakubstasinski@protonmail.com>
Tue, 24 Jun 2025 12:15:07 +0000 (14:15 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Tue, 24 Jun 2025 12:15:07 +0000 (14:15 +0200)
base.sh
morketsmerke.nmconnection

diff --git a/base.sh b/base.sh
index 01a4512027b981c81ee64bd9345d7b427fdea0db..468d8ce80ba502d645c8483c8b7dd4eb25720198 100644 (file)
--- a/base.sh
+++ b/base.sh
@@ -14,11 +14,11 @@ fi
 cd;
 if [ -x /usr/bin/git ]; then 
        git clone https://github.com/xf0r3m/immudex;
-       git clone https://git.morketsmerke.org/git/latitude-5491;
+       git clone https://git.morketsmerke.org/git/T530;
 else 
        apt install git -y;
        git clone https://github.com/xf0r3m/immudex;
-       git clone https://git.morketsmerke.org/git/latitude-5491;
+       git clone https://git.morketsmerke.org/git/T530;
 
 fi
 source ~/immudex/versions/template.sh;
@@ -45,10 +45,10 @@ echo -n "Europe/Warsaw" > /etc/timezone;
 rm /etc/localtime;
 ln -s /usr/share/zoneinfo/Europe/Warsaw /etc/localtime;
 
-cp -vv ~/latitude-5491/locale.gen /etc;
-cp -vv ~/latitude-5491/locale /etc/default;
-cp -vv ~/latitude-5491/keyboard /etc/default;
-cp -vv ~/latitude-5491/console-setup /etc/default; 
+cp -vv ~/T530/locale.gen /etc;
+cp -vv ~/T530/locale /etc/default;
+cp -vv ~/T530/keyboard /etc/default;
+cp -vv ~/T530/console-setup /etc/default; 
 /usr/sbin/locale-gen;
 
 install_packages task-desktop task-xfce-desktop;
@@ -106,12 +106,12 @@ cp -vv ~/immudex/tools/bin/immudex-autostart-x4notes /usr/local/bin;
 cp -vv ~/immudex/tools/bin/immudex-branch /usr/local/bin;
 cp -vv ~/immudex/tools/bin/immudex-import-gpgkeys /usr/local/bin;
 cp -vv ~/immudex/tools/bin/immudex-import-sshkeys /usr/local/bin;
-cp -vv ~/latitude-5491/immudex-import-kdeconnect /usr/local/bin;
+cp -vv ~/T530/immudex-import-kdeconnect /usr/local/bin;
 cp -vv ~/immudex/tools/bin/immudex-meteo /usr/local/bin;
 cp -vv ~/immudex/tools/bin/immudex-morketsmerke /usr/local/bin;
-cp -vv ~/latitude-5491/immudex-motd2 /usr/local/bin/immudex-motd2;
-cp -vv ~/latitude-5491/immudex-run /usr/local/bin/immudex-run;
-cp -vv ~/latitude-5491/immudex-nextcloud /usr/local/bin/immudex-nextcloud;
+cp -vv ~/T530/immudex-motd2 /usr/local/bin/immudex-motd2;
+cp -vv ~/T530/immudex-run /usr/local/bin/immudex-run;
+cp -vv ~/T530/immudex-nextcloud /usr/local/bin/immudex-nextcloud;
 cp -vv ~/immudex/tools/bin/immudex-padlock /usr/local/bin;
 cp -vv ~/immudex/tools/bin/immudex-pl /usr/local/bin;
 wget https://ftp.morketsmerke.org/librewolf/immudex-secured-firefox -O /usr/local/bin/immudex-secured-firefox;
@@ -134,7 +134,7 @@ cp -vv ~/immudex/tools/sbin/immudex-hostname /usr/local/sbin;
 cp -vv ~/immudex/tools/sbin/immudex-install /usr/local/sbin;
 cp -vv ~/immudex/tools/sbin/immudex-upgrade /usr/local/sbin;
 cp -vv ~/immudex/tools/sbin/immudex-nf /usr/local/sbin;
-cp -vv ~/latitude-5491/immudex-updates /usr/local/sbin;
+cp -vv ~/T530/immudex-updates /usr/local/sbin;
 chown root:root /usr/local/sbin/*;
 chmod 544 /usr/local/sbin/*;
 
@@ -144,12 +144,12 @@ cp -rvv ~/immudex/files/libreoffice /etc/skel/.config;
 cp -vv ~/immudex/files/firejail.config /etc/firejail;
 cp -vv ~/immudex/files/redshift.conf /etc/skel/.config;
 cp -vv ~/immudex/files/redshift.desktop /etc/skel/.config/autostart;
-cp -vv ~/latitude-5491/nextcloud.desktop /etc/skel/.config/autostart/nextcloud.desktop
+cp -vv ~/T530/nextcloud.desktop /etc/skel/.config/autostart/nextcloud.desktop
 
 cp -rvv ~/immudex/files/sync.sh /usr/share;
-cp -vv ~/latitude-5491/org.keepassxc.KeePassXC.2.desktop /usr/share/applications/org.keepassxc.KeePassXC.2.desktop
-cp -vv ~/latitude-5491/sdrpp2.desktop /usr/share/applications/sdrpp2.desktop
-cp -vv ~/latitude-5491/com.teamviewer.TeamViewer2.desktop /usr/share/applications/com.teamviewer.TeamViewer2.desktop
+cp -vv ~/T530/org.keepassxc.KeePassXC.2.desktop /usr/share/applications/org.keepassxc.KeePassXC.2.desktop
+cp -vv ~/T530/sdrpp2.desktop /usr/share/applications/sdrpp2.desktop
+cp -vv ~/T530/com.teamviewer.TeamViewer2.desktop /usr/share/applications/com.teamviewer.TeamViewer2.desktop
 
 if [ -f /usr/share/applications/qmmp.desktop ]; then
   ln -s /usr/share/applications/qmmp.desktop /usr/share/applications/qmmp-1.desktop;
@@ -184,24 +184,24 @@ chmod u+s /usr/bin/ping;
 #/usr/sbin/ufw enable;
 sed -i '/^ENABLED=/s/ENABLED=no/ENABLED=yes/' /etc/ufw/ufw.conf
 
-echo "latitude-5491" > /etc/hostname;
-echo "127.0.1.1   latitude-5491" >> /etc/hosts;
+echo "T530" > /etc/hostname;
+echo "127.0.1.1   T530" >> /etc/hosts;
 
 # Zmiany można umieścić również tutaj jeśli dotyczą one użytkowników lub ich
 # plików konfiguracyjnych
 
-cp -vv ~/latitude-5491/immudex-run-thunderbird /usr/local/bin/immudex-run-thunderbird;
+cp -vv ~/T530/immudex-run-thunderbird /usr/local/bin/immudex-run-thunderbird;
 chmod +x /usr/local/bin/*;
 
-#cp -vv ~/latitude-5491/displays.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml;
-cp -vv ~/latitude-5491/pointers.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml
+#cp -vv ~/T530/displays.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml;
+cp -vv ~/T530/pointers.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml
 mkdir /etc/skel/.config/xfce4/panel/launcher-16;
 mkdir /etc/skel/.config/xfce4/panel/launcher-17;
-cp -vv ~/latitude-5491/16967093831.desktop /etc/skel/.config/xfce4/panel/launcher-16/16967093831.desktop;
-cp -vv ~/latitude-5491/launcher-17/17399705731.desktop /etc/skel/.config/xfce4/panel/launcher-17/17399705731.desktop;
-cp -vv ~/latitude-5491/xfce4-panel.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml;
-cp -vv ~/latitude-5491/whiskermenu-1.rc /etc/skel/.config/xfce4/panel/whiskermenu-1.rc
-cp -vv ~/latitude-5491/bashrc /etc/skel/.bashrc;
+cp -vv ~/T530/16967093831.desktop /etc/skel/.config/xfce4/panel/launcher-16/16967093831.desktop;
+cp -vv ~/T530/launcher-17/17399705731.desktop /etc/skel/.config/xfce4/panel/launcher-17/17399705731.desktop;
+cp -vv ~/T530/xfce4-panel.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml;
+cp -vv ~/T530/whiskermenu-1.rc /etc/skel/.config/xfce4/panel/whiskermenu-1.rc
+cp -vv ~/T530/bashrc /etc/skel/.bashrc;
 
 echo -n "Username: ";
 read username;
@@ -221,25 +221,24 @@ usermod -L root;
 # Miejsce na twoje zmiany, przed poleceniem 'tidy'
 #bash ~/immudex/addons/nvidiaLatest;
 bash ~/immudex/addons/kvm;
-bash ~/latitude-5491/nextcloud;
+bash ~/T530/nextcloud;
 install_packages wireshark;
 bash ~/immudex/addons/chirp;
 bash ~/immudex/addons/iwlwifi;
 bash ~/immudex/addons/ncspot;
 bash ~/immudex/addons/lampstack;
 bash ~/immudex/addons/realtek;
-bash ~/immudex/addons/nvidiaLatest;
-cp -vv ~/latitude-5491/morketsmerke.nmconnection /etc/NetworkManager/system-connections/morketsmerke.nmconnection
+cp -vv ~/T530/morketsmerke.nmconnection /etc/NetworkManager/system-connections/morketsmerke.nmconnection
 
 chmod 600 /etc/NetworkManager/system-connections/*;
 usermod -aG www-data xf0r3m
 chown -R www-data:www-data /var/www
 chmod -R 775 /var/www;
-cp -vv ~/latitude-5491/oh-my-posh-install.sh /tmp/oh-my-posh-install.sh;
+cp -vv ~/T530/oh-my-posh-install.sh /tmp/oh-my-posh-install.sh;
 bash /tmp/oh-my-posh-install.sh
 mv /root/.cache/oh-my-posh /usr/share;
 rm /tmp/oh-my-posh-install.sh;
-cp -vv ~/latitude-5491/immudex-nu.omp.json.nu-deploy /usr/share/oh-my-posh/immudex-nu.omp.json;
+cp -vv ~/T530/immudex-nu.omp.json.nu-deploy /usr/share/oh-my-posh/immudex-nu.omp.json;
 cd
 MLDepsUrl="https://gitweb.morketsmerke.org/?p=ML.git;a=blob_plain;f=dependecies.txt;hb=5e30c5b6d7f490bfdfffaa2cff615dc794534f8a";
 install_packages $(curl "$MLDepsUrl" 2> /dev/null | awk '{printf $1" "}')
@@ -254,7 +253,7 @@ sudo make install;
 cd ..
 
 
-wget ftp.morketsmerke.org/~xf0r3m/latitude-5491/rtl_sdr_driver
+wget ftp.morketsmerke.org/~xf0r3m/T530/rtl_sdr_driver
 bash rtl_sdr_driver;
 rm -rf ~/rtl-sdr-blog;
 usermod -aG plugdev xf0r3m
@@ -272,12 +271,12 @@ apt install -y ./teamviewer_amd64.deb
 kill $(pidof gpg-agent)
 
 install_packages kdeconnect kaccounts-providers;
-cp -vv ~/latitude-5491/ufw-setup.service /etc/systemd/system;
+cp -vv ~/T530/ufw-setup.service /etc/systemd/system;
 systemctl enable ufw-setup.service;
 
-cp -vv ~/latitude-5491/ufw-setup /usr/local/sbin/ufw-setup;
+cp -vv ~/T530/ufw-setup /usr/local/sbin/ufw-setup;
 chmod +x /usr/local/sbin/ufw-setup;
 
-rm -rf ~/latitude-5491
+rm -rf ~/T530
 
 tidy;
index b795e444b285294e27162cfa3a67ec771e91f516..c8b55a46dc6d04d4b22850cbce075b523443bfd0 100755 (executable)
@@ -8,12 +8,12 @@ timestamp=1740503929
 
 [vpn]
 ca=/ic0/vpn/cacert.pem
-cert=/ic0/vpn/latitude-5491_crt.pem
+cert=/ic0/vpn/T530_crt.pem
 cert-pass-flags=0
 comp-lzo=adaptive
 connection-type=tls
 dev=tun0
-key=/ic0/vpn/latitude-5491_key.pem
+key=/ic0/vpn/T530_key.pem
 port=17003
 remote=194.110.5.148
 service-type=org.freedesktop.NetworkManager.openvpn