* Added manpage for sysdump.
* sysdump: do not exit on error opening file(s) but print warning
instead.
* Use "Architecture: all" in debian/control to support architectures
not running on x86 as well.
* Bumb Standard Version to 3.7.2 (no further changes).
* Use "Architecture: all" in debian/control to support architectures
not running on x86 as well.
* Bumb Standard Version to 3.7.2 (no further changes).
+ * Update copyright file (adjusted address of fsfs).
+ * Added manpage for sysdump.
+ * sysdump: do not exit on error opening file(s) but print warning
+ instead.
-- Michael Prokop <mika@grml.org> Sat, 11 Nov 2006 19:12:39 +0100
-- Michael Prokop <mika@grml.org> Sat, 11 Nov 2006 19:12:39 +0100
- This software is copyright (c) 2004-2005 by Michael Prokop.
+ This software is copyright (c) 2003++ by Michael Prokop.
- This package is free software; you can redistribute it and/or modify
+ This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 dated June, 1991.
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
- This package is distributed in the hope that it will be useful,
+ This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this package; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+ USA.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
dh_testroot
dh_installchangelogs
dh_installdocs
dh_testroot
dh_installchangelogs
dh_installdocs
- dh_installman grml-hwinfo.1
+ dh_installman grml-hwinfo.1 sysdump.8
dh_link
dh_strip
dh_compress
dh_link
dh_strip
dh_compress
my $level = shift;
my $file = shift;
my $level = shift;
my $file = shift;
- open (FILE, "<$file") || die "can't open $file: $!";
+ open (FILE, "<$file") || print "can't open $file: $!";
--- /dev/null
+.TH SYSDUMP 8
+.SH NAME
+sysdump \- dump /sys to a textformat
+.SH SYNOPSIS
+.B sysdump
+.SH DESCRIPTION
+This manual page documents briefly the
+.B sysdump
+command.
+.PP
+\fBsysdump\fP is a perl script that tries to read all files in the
+sys filesystem (known as the files behind /sys) and dumps the content
+found in present files to stdout. The script is used inside grml-hwinfo.
+.SH OPTIONS
+sysdump does not support any options.
+.SH SEE ALSO
+.BR grml-hwinfo (1).
+.br
+.SH AUTHOR
+sysdump was written by David Schmitt <david@schmitt.edv-bus.at>.
+.PP
+This manual page was written by Michael Prokop <mika@grml.org>
+for the grml project (but may be used by others).