From 8e15d5a1899106de5080196ddca392b2ff997ac9 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 5 Feb 2010 15:05:36 +0000 Subject: [PATCH] hivex: example6: Hypothetical addition of keys for viostor. --- hivex/example6 | 126 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100755 hivex/example6 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 <