From 39f93afc8a734c46a0e6347bf963a9b253dc7c7d Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 5 Sep 2007 14:32:31 +0000 Subject: [PATCH] Print the conversion notice at the top of the converted file, not on stdout. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4771 7894878c-1315-0410-8ee3-d5d059ff63e0 --- etc/sensors-conf-convert | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/sensors-conf-convert b/etc/sensors-conf-convert index bda09830..b1405761 100755 --- a/etc/sensors-conf-convert +++ b/etc/sensors-conf-convert @@ -357,7 +357,9 @@ BEGIN qr/\bfan\d_(max|safe)\b/, ], ); +} +if ($. == 1) { print "# Converted by sensors-conf-convert on ".localtime()."\n"; }