mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Refactoed common function
These common function is renamed with _common explicitly.
This commit is contained in:
parent
ccc7d009f6
commit
54f80d7f80
5 changed files with 28 additions and 29 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# Confirmation and Passphrase setting
|
||||
# *******************************************************************************
|
||||
|
||||
function confirmation(){
|
||||
function confirmation_common(){
|
||||
|
||||
# Consistency check for the OVERWRITEINSTALL and ERASEALL
|
||||
if [ ${ERASEALL} -eq 1 -a ${OVERWRITEINSTALL} -eq 1 ] ; then
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash -u
|
||||
|
||||
function parainstall_msg() {
|
||||
function para_install_msg_common() {
|
||||
|
||||
cat <<- HEREDOC
|
||||
******************************************************************************
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
# Pre-install stage
|
||||
# *******************************************************************************
|
||||
|
||||
function pre_install() {
|
||||
function pre_install_common() {
|
||||
|
||||
|
||||
# ----- Erase entire disk, create partitions, format them and encrypt the LUKS partition -----
|
||||
Loading…
Add table
Add a link
Reference in a new issue