diff options
| author | Micah Anderson <micah@riseup.net> | 2007-02-23 18:04:04 +0000 | 
|---|---|---|
| committer | Micah Anderson <micah@riseup.net> | 2007-02-23 18:04:04 +0000 | 
| commit | 05c26446ed65681528387f6c66473c61eebe7224 (patch) | |
| tree | bbbd9bfce2bda17e0d399d1c97959c4a2937c6eb /handlers/sys | |
| parent | d15a347be54fea3ae44c595b454b22fb41149271 (diff) | |
| download | backupninja-05c26446ed65681528387f6c66473c61eebe7224.tar.gz backupninja-05c26446ed65681528387f6c66473c61eebe7224.tar.bz2 | |
updated autotools abstraction to properly pick up different awk, sed,
and md5sum locations
Diffstat (limited to 'handlers/sys')
| -rwxr-xr-x | handlers/sys | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/handlers/sys b/handlers/sys index 57d9d60..ce9c5b0 100755 --- a/handlers/sys +++ b/handlers/sys @@ -188,7 +188,7 @@ elif [ $os = "debian" ]; then         echo "Level: $level" >> $sysreportfile         for f in /etc/rc${level}.d/*; do  	# Remove /etc/Knn or Snn from beginning -          ff=$(echo $f | sed 's_/etc/rc..d/[KS][0-9][0-9]__') +          ff=$(echo $f | @SED@ 's_/etc/rc..d/[KS][0-9][0-9]__')            if [ $f != $ff ]; then               echo $ff >> $sysreportfile            fi @@ -443,7 +443,7 @@ fi  # these files can be used to directly partition a disk of the same size.  if [ "$partitions" == "yes" ]; then -	devices=`$SFDISK -l 2>/dev/null | grep "^Disk /dev" | awk '{print $2}' | cut -d: -f1` +	devices=`$SFDISK -l 2>/dev/null | grep "^Disk /dev" | @AWK@ '{print $2}' | cut -d: -f1`  	if [ "$devices" == "" ]; then   	   warning "No harddisks found"   	fi | 
