Fixed LICENSE
parent
25446dda93
commit
895a65de19
11
README.md
11
README.md
|
@ -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
18
luksit
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue