From: Richard Jones Date: Fri, 5 Feb 2010 15:05:36 +0000 (+0000) Subject: hivex: example6: Hypothetical addition of keys for viostor. X-Git-Tag: 1.1.0~10 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=41f62739f7630db5ee6177fc999f766890f5e178;p=hivex.git hivex: example6: Hypothetical addition of keys for viostor. --- diff --git a/hivex/example6 b/hivex/example6 new file mode 100755 index 0000000..10cae59 --- /dev/null +++ b/hivex/example6 @@ -0,0 +1,126 @@ +#!/bin/bash - +# Copyright (C) 2009-2010 Red Hat Inc. +# +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# 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 +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +set -e + +# Hypothetical viostor installation in a W2K3 system registry. + +if [ $# -ne 2 ]; then + echo "$0 system system.new" + exit 1 +fi + +d=`dirname $0` + +$d/hivexsh -w <