From 5295b063d1d53802f0c33b2c8e64adbff1c6ba9d Mon Sep 17 00:00:00 2001 From: Alex Harpin Date: Wed, 31 Dec 2014 15:31:15 +0000 Subject: Revert "Add an option to disable inotify to fail -f commands." This reverts commit 75ae9d501bfdd4b264cfb0a8f1e04ae3c6a86cf7. This change is no longer needed as inotify is now working in the current VyOS kernel, following the commits for bug #425, so removing this temporary workaround. --- scripts/vyatta-monitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vyatta-monitor b/scripts/vyatta-monitor index 9c846b0..22867e8 100755 --- a/scripts/vyatta-monitor +++ b/scripts/vyatta-monitor @@ -3,5 +3,5 @@ declare awkmatch="$2" for i in "${@:3}"; do awkmatch+="|$i" done -tail ---disable-inotify -f /var/log/messages \ +tail -f /var/log/messages \ | awk "/$awkmatch/{ \$5=\" $1:\"; for (f=5; f<=NF; ++f) {printf(\"%s \", \$f);}; printf(\"\n\") }" -- cgit v1.2.3