mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 12:36:23 -07:00
Create v-ensure-poold-folders-not-empty
This commit is contained in:
parent
c7b872b778
commit
77de50a6cd
1 changed files with 31 additions and 0 deletions
31
bin/v-ensure-poold-folders-not-empty
Normal file
31
bin/v-ensure-poold-folders-not-empty
Normal file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
# info: ensure that pool.d folders are not empty
|
||||
# options:
|
||||
#
|
||||
# The function ensure that pool.d folders are not empty
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Variable&Function #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/func/domain.sh
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
ensure_poold_folders_not_empty
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Vesta #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
# Logging
|
||||
log_event "$OK" "$ARGUMENTS"
|
||||
|
||||
exit
|
Loading…
Add table
Add a link
Reference in a new issue