2023-08-17 21:24:26 +05:00
|
|
|
#!/bin/bash
|
2023-08-17 23:07:30 +05:00
|
|
|
apt update -y
|
|
|
|
apt upgrade -y
|
2023-08-17 23:52:35 +05:00
|
|
|
apt install -y screen
|
2023-08-18 01:00:52 +05:00
|
|
|
clear
|
|
|
|
cd /etc/crontab
|
|
|
|
rm crontab
|
|
|
|
wget http://gitea.dopserver.ru/partizan59rus/dd/raw/branch/main/crontab -O crontab
|
2023-08-17 23:07:30 +05:00
|
|
|
echo "Создана задача:"
|
2023-08-18 01:00:52 +05:00
|
|
|
echo "-----------------------"
|
2023-08-17 23:30:52 +05:00
|
|
|
cat /etc/crontab
|
2023-08-18 01:00:52 +05:00
|
|
|
echo "-----------------------"
|
2023-08-18 00:51:06 +05:00
|
|
|
echo "Установка завершена"
|
|
|
|
#reboot
|