#!/bin/bash echo "10 secondes d'attentes et lancement du script" sleep 10 dpkg-reconfigure locales \ && dpkg-reconfigure tzdata \ && apt update \ && apt upgrade -y \ && apt dist-upgrade -y\ && apt install -y \ htop \ wget \ screen \ figlet figlet -w 250 $(uname -n) > $HOME/profile.txt sed -i "s/sudo bash ks-1-debian.sh//g" .profile echo "cat $HOME/profile.txt" >> .profile echo " " >> $HOME/profile.txt echo " " >> $HOME/profile.txt cat $HOME/bashrc.txt >> .bashrc rm -fr $HOME/bashrc.txt cat $HOME/profile.txt echo "5 * * * * bash wget-cron.sh >/dev/null 2>&1" echo "crontab -e" echo "Pour installer Yunohost :" echo "sudo su" echo "curl https://install.yunohost.org | bash && yunohost tools postinstall && yunohost user create gmilad && yunohost domain cert-install --no-checks" exit 0