summaryrefslogtreecommitdiffstats
path: root/misc/luks-header-from-active
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmisc/luks-header-from-active19
1 files changed, 13 insertions, 6 deletions
diff --git a/misc/luks-header-from-active b/misc/luks-header-from-active
index a94ad33..0a326b2 100755
--- a/misc/luks-header-from-active
+++ b/misc/luks-header-from-active
@@ -1,16 +1,23 @@
#!/bin/bash
# Try to get LUKS info and master key from active mapping and prepare parameters for cryptsetup.
+# WARNING: this script is no longer compatible with current cryptsetup & dm-crypt
#
# Copyright (C) 2010,2011,2012 Milan Broz <gmazyland@gmail.com>
#
-# This copyrighted material is made available to anyone wishing to use,
-# modify, copy, or redistribute it subject to the terms and conditions
-# of the GNU General Public License v.2.
+# This file is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
#
-# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# This file 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
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this file; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
umask 0077