Improve packages list backup

This commit is contained in:
Gregory Colpart 2017-07-12 01:19:22 +02:00
parent 1a777afb5f
commit 641d400afa

View file

@ -169,6 +169,7 @@ if [ $SYSTEM = "linux" ]; then
## List Debian packages
dpkg -l >/home/backup/packages
dpkg --get-selections >/home/backup/packages.getselections
else
## Dump network connections with netstat
netstat -finet -atn >/home/backup/netstat.out