aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2024-04-03 13:13:18 +0200
committerMilan Broz <gmazyland@gmail.com>2024-04-03 11:49:33 +0000
commite17ec3734191a9f57f6575d024805f68eca78998 (patch)
tree317180f89767de83978d07b2d48696ed87e65bda
parent1ba758cde1dcb09073ab905a5c88c990f9c977e2 (diff)
downloadcryptsetup-e17ec3734191a9f57f6575d024805f68eca78998.tar.gz
Relicense older script to LGPL fro GPL2.0 only.
(As I am sole author here.)
-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 a94ad335..0a326b20 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