mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
sysutils/amrstat: Fix periodic script
Replace a GNU-specific option with more generic option. PR: 258625
This commit is contained in:
parent
01e5dfaad7
commit
3be4a4bdee
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= amrstat
|
||||
PORTVERSION= 20070216
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= LOCAL/jkim
|
||||
|
||||
|
@ -46,7 +46,7 @@ case "$daily_status_amr_raid_enable" in
|
||||
esac
|
||||
fi
|
||||
lines=`wc -l ${ctrl_log}.today | awk '{ print $1 }'`
|
||||
diff -u -${lines} ${ctrl_log}.yesterday ${ctrl_log}.today
|
||||
diff -U ${lines} ${ctrl_log}.yesterday ${ctrl_log}.today
|
||||
raid_rc=$?
|
||||
if test $raid_rc -eq 0; then
|
||||
cat ${ctrl_log}.today
|
||||
|
Loading…
Reference in New Issue
Block a user