forked from evolix/evobackup
retab
This commit is contained in:
parent
e924394230
commit
ee57c20134
|
@ -139,17 +139,17 @@ done
|
||||||
ps aux >/home/backup/ps.out
|
ps aux >/home/backup/ps.out
|
||||||
|
|
||||||
if [ $SYSTEME = "linux" ]; then
|
if [ $SYSTEME = "linux" ]; then
|
||||||
## Dump network connections with netstat
|
## Dump network connections with netstat
|
||||||
netstat -taupen >/home/backup/netstat.out
|
netstat -taupen >/home/backup/netstat.out
|
||||||
|
|
||||||
## List Debian packages
|
## List Debian packages
|
||||||
dpkg -l >/home/backup/packages
|
dpkg -l >/home/backup/packages
|
||||||
else
|
else
|
||||||
## Dump network connections with netstat
|
## Dump network connections with netstat
|
||||||
netstat -finet -atn >/home/backup/netstat.out
|
netstat -finet -atn >/home/backup/netstat.out
|
||||||
|
|
||||||
## List OpenBSD packages
|
## List OpenBSD packages
|
||||||
pkg_info -m >/home/backup/packages
|
pkg_info -m >/home/backup/packages
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HOSTNAME=$(hostname)
|
HOSTNAME=$(hostname)
|
||||||
|
|
Loading…
Reference in a new issue