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: Snow White: "Gee guys, I've always dreamed of getting ten inches... but not an inch-and-a-half at a time!
Leave a Reply