From f01c890b20f88bcad8c0cad6538e0d06c055e241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S=C3=89RIE?= Date: Thu, 30 Jan 2014 11:50:48 +0100 Subject: [PATCH] Ameliorate action 99_system_info. --- install/etc/evobackup/actions.d/99_system_info | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/etc/evobackup/actions.d/99_system_info b/install/etc/evobackup/actions.d/99_system_info index 7d98066..170b0a6 100755 --- a/install/etc/evobackup/actions.d/99_system_info +++ b/install/etc/evobackup/actions.d/99_system_info @@ -1,12 +1,12 @@ #!/bin/sh # Get system informations. +# Dependency: dd, sfdisk, mtr, traceroute, ps, netstat, dpkg # Extract MBR / table partitions. -# dd if=/dev/sda of=/home/backup/MBR bs=512 count=1 2>&1 | egrep -v "(records -# in|records out|512 bytes)" -# sfdisk -d /dev/sda > /home/backup/partitions 2>&1 | egrep -v "(Warning: -#extended partition does not start at a cylinder boundary|DOS and Linux will -# interpret the contents differently)" +dd if=/dev/sda of=/home/backup/MBR bs=512 count=1 2>&1 | \ + egrep -v "(records in|records out|512 bytes)" +sfdisk -d /dev/sda > /home/backup/partitions 2>&1 | \ + egrep -v "(Warning: extended partition does not start at a cylinder boundary|DOS and Linux will interpret the contents differently)" # Get routes for addr in 8.8.8.8 backup.evolix.net www.evolix.fr www.evolix.net; do