Kaptain.
Telegram /
LinkedIn /
Email /
GIT /
RSS /
GPG /
Заказ печатных плат

№ 8603 В разделе
Sysadmin
от February 1st, 2018,
В подшивках: Bash, Drivers
Рекомендую запускать каждые 6 месяцев через cron.
#!/bin/bash
source /etc/profile
#install updates
apt update
apt install -y p7zip-full p7zip-rar aria2
rm -rf drivers *.iso *.torrent
aria2c http://download.drp.su/DriverPack-Offline.torrent
7z x *.iso drivers/
find drivers -name "*.7z"|while read fname; do
7z x $fname -o$fname-unpack/
rm -f $fname
done;
Fortune cookie: tear leather: To become excited, as in the sentence "Robin Hood tore his leather jerkin' off."
Leave a Reply