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