mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:23:36 +07:00
refactoring
This commit is contained in:
parent
ee15f749bb
commit
e7aafd64d4
@ -134,6 +134,14 @@ $0 3"
|
||||
exit 1
|
||||
}
|
||||
|
||||
preparation() {
|
||||
## Debugging.
|
||||
$output_command "INFO: 'findmnt --list' output at the START."
|
||||
$output_command "$(findmnt --list)"
|
||||
$output_command ""
|
||||
true
|
||||
}
|
||||
|
||||
remount_secure() {
|
||||
$output_command ""
|
||||
|
||||
@ -273,11 +281,7 @@ end() {
|
||||
main() {
|
||||
init
|
||||
parse_options "$@"
|
||||
|
||||
## Debugging.
|
||||
$output_command "INFO: 'findmnt --list' output at the START."
|
||||
$output_command "$(findmnt --list)"
|
||||
$output_command ""
|
||||
preparation
|
||||
|
||||
_boot
|
||||
_run
|
||||
|
Loading…
Reference in New Issue
Block a user