Fixed LICENSE

master
Keith Irwin 2021-07-05 20:08:34 -06:00
parent 25446dda93
commit 895a65de19
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
2 changed files with 28 additions and 1 deletions

View File

@ -30,3 +30,14 @@ luksit sdf mydrive ext4
### Mounting on boot
The script does not yet support adding lines to `/etc/fstab` or `/etc/crypttab`. Consult the "automountable" section in `original-tutorial.md` for help with automounting the drive.
## License
luksit - Luks-encrypt drives with a single command
Copyright (C) 2021 Keith Irwin (www.ki9.us)
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 3 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, see <http://www.gnu.org/licenses/>.

18
luksit
View File

@ -3,6 +3,22 @@
#
# USAGE: luksit <device> <name> [filesystem]
# EXAMPLE: luksit sdf mydrive ext4
#
# Copyright (C) 2021 Keith Irwin (www.ki9.us)
#
# 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 3 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, see <http://www.gnu.org/licenses/>.
# Check for root
if [[ $EUID -ne 0 ]]; then
@ -34,7 +50,7 @@ bail(){ [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1; }
KEYDIR="/root/luks"
# Initial output
echo " luksit Copyright (C) 2021 Keith Irwin (ki9)"
echo " luksit Copyright (C) 2021 Keith Irwin (www.ki9.us)"
echo " This program comes with ABSOLUTELY NO WARRANTY; for details"
echo " see the LICENSE.md that came with it"
echo " This is free software, and you are welcome to redistribute it"