cd;
if [ -x /usr/bin/git ]; then
git clone https://github.com/xf0r3m/immudex;
- git clone https://git.morketsmerke.org/git/latitude-7240;
+ git clone https://git.morketsmerke.org/git/latitude-7420;
else
apt install git -y;
git clone https://github.com/xf0r3m/immudex;
- git clone https://git.morketsmerke.org/git/latitude-7240;
+ git clone https://git.morketsmerke.org/git/latitude-7420;
fi
source ~/immudex/versions/template.sh;
rm /etc/localtime;
ln -s /usr/share/zoneinfo/Europe/Warsaw /etc/localtime;
-cp -vv ~/latitude-7240/locale.gen /etc;
-cp -vv ~/latitude-7240/locale /etc/default;
-cp -vv ~/latitude-7240/keyboard /etc/default;
-cp -vv ~/latitude-7240/console-setup /etc/default;
+cp -vv ~/latitude-7420/locale.gen /etc;
+cp -vv ~/latitude-7420/locale /etc/default;
+cp -vv ~/latitude-7420/keyboard /etc/default;
+cp -vv ~/latitude-7420/console-setup /etc/default;
/usr/sbin/locale-gen;
install_packages task-desktop task-xfce-desktop;
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-7240/immudex-import-kdeconnect /usr/local/bin;
+cp -vv ~/latitude-7420/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-7240/immudex-motd2 /usr/local/bin/immudex-motd2;
-cp -vv ~/latitude-7240/immudex-run /usr/local/bin/immudex-run;
-cp -vv ~/latitude-7240/immudex-nextcloud /usr/local/bin/immudex-nextcloud;
+cp -vv ~/latitude-7420/immudex-motd2 /usr/local/bin/immudex-motd2;
+cp -vv ~/latitude-7420/immudex-run /usr/local/bin/immudex-run;
+cp -vv ~/latitude-7420/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;
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-7240/immudex-updates /usr/local/sbin;
+cp -vv ~/latitude-7420/immudex-updates /usr/local/sbin;
chown root:root /usr/local/sbin/*;
chmod 544 /usr/local/sbin/*;
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-7240/nextcloud.desktop /etc/skel/.config/autostart/nextcloud.desktop
+cp -vv ~/latitude-7420/nextcloud.desktop /etc/skel/.config/autostart/nextcloud.desktop
cp -rvv ~/immudex/files/sync.sh /usr/share;
-cp -vv ~/latitude-7240/org.keepassxc.KeePassXC.2.desktop /usr/share/applications/org.keepassxc.KeePassXC.2.desktop
-cp -vv ~/latitude-7240/sdrpp2.desktop /usr/share/applications/sdrpp2.desktop
-cp -vv ~/latitude-7240/com.teamviewer.TeamViewer2.desktop /usr/share/applications/com.teamviewer.TeamViewer2.desktop
+cp -vv ~/latitude-7420/org.keepassxc.KeePassXC.2.desktop /usr/share/applications/org.keepassxc.KeePassXC.2.desktop
+cp -vv ~/latitude-7420/sdrpp2.desktop /usr/share/applications/sdrpp2.desktop
+cp -vv ~/latitude-7420/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;
#/usr/sbin/ufw enable;
sed -i '/^ENABLED=/s/ENABLED=no/ENABLED=yes/' /etc/ufw/ufw.conf
-echo "latitude-7240" > /etc/hostname;
-echo "127.0.1.1 latitude-7240" >> /etc/hosts;
+echo "latitude-7420" > /etc/hostname;
+echo "127.0.1.1 latitude-7420" >> /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-7240/immudex-run-thunderbird /usr/local/bin/immudex-run-thunderbird;
+cp -vv ~/latitude-7420/immudex-run-thunderbird /usr/local/bin/immudex-run-thunderbird;
chmod +x /usr/local/bin/*;
-#cp -vv ~/latitude-7240/displays.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml;
-#cp -vv ~/latitude-7240/pointers.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml
+#cp -vv ~/latitude-7420/displays.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml;
+cp -vv ~/latitude-7420/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-7240/16967093831.desktop /etc/skel/.config/xfce4/panel/launcher-16/16967093831.desktop;
-cp -vv ~/latitude-7240/launcher-17/17399705731.desktop /etc/skel/.config/xfce4/panel/launcher-17/17399705731.desktop;
-cp -vv ~/latitude-7240/xfce4-panel.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml;
-cp -vv ~/latitude-7240/whiskermenu-1.rc /etc/skel/.config/xfce4/panel/whiskermenu-1.rc
-cp -vv ~/latitude-7240/bashrc /etc/skel/.bashrc;
+cp -vv ~/latitude-7420/16967093831.desktop /etc/skel/.config/xfce4/panel/launcher-16/16967093831.desktop;
+cp -vv ~/latitude-7420/launcher-17/17399705731.desktop /etc/skel/.config/xfce4/panel/launcher-17/17399705731.desktop;
+cp -vv ~/latitude-7420/xfce4-panel.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml;
+cp -vv ~/latitude-7420/whiskermenu-1.rc /etc/skel/.config/xfce4/panel/whiskermenu-1.rc
+cp -vv ~/latitude-7420/bashrc /etc/skel/.bashrc;
echo -n "Username: ";
read username;
# Miejsce na twoje zmiany, przed poleceniem 'tidy'
#bash ~/immudex/addons/nvidiaLatest;
bash ~/immudex/addons/kvm;
-bash ~/latitude-7240/nextcloud;
+bash ~/latitude-7420/nextcloud;
install_packages wireshark;
bash ~/immudex/addons/chirp;
bash ~/immudex/addons/iwlwifi;
bash ~/immudex/addons/ncspot;
bash ~/immudex/addons/lampstack;
bash ~/immudex/addons/realtek;
-cp -vv ~/latitude-7240/morketsmerke.nmconnection /etc/NetworkManager/system-connections/morketsmerke.nmconnection
+cp -vv ~/latitude-7420/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-7240/oh-my-posh-install.sh /tmp/oh-my-posh-install.sh;
+cp -vv ~/latitude-7420/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-7240/immudex-nu.omp.json.nu-deploy /usr/share/oh-my-posh/immudex-nu.omp.json;
+cp -vv ~/latitude-7420/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" "}')
cd ..
-wget ftp.morketsmerke.org/~xf0r3m/latitude-7240/rtl_sdr_driver
+wget ftp.morketsmerke.org/~xf0r3m/latitude-7420/rtl_sdr_driver
bash rtl_sdr_driver;
rm -rf ~/rtl-sdr-blog;
usermod -aG plugdev xf0r3m
kill $(pidof gpg-agent)
install_packages kdeconnect kaccounts-providers;
-cp -vv ~/latitude-7240/ufw-setup.service /etc/systemd/system;
+cp -vv ~/latitude-7420/ufw-setup.service /etc/systemd/system;
systemctl enable ufw-setup.service;
-cp -vv ~/latitude-7240/ufw-setup /usr/local/sbin/ufw-setup;
+cp -vv ~/latitude-7420/ufw-setup /usr/local/sbin/ufw-setup;
chmod +x /usr/local/sbin/ufw-setup;
-rm -rf ~/latitude-7240
+rm -rf ~/latitude-7420
tidy;