main/shell
This commit is contained in:
parent
52a43b0e60
commit
d94880bb75
1 changed files with 27 additions and 19 deletions
|
@ -114,6 +114,9 @@ rwx_source() {
|
|||
|
||||
# run initial steps
|
||||
rwx_main() {
|
||||
case "${RWX_SHELL}" in
|
||||
"sh" | \
|
||||
"bash")
|
||||
# system root
|
||||
if ! rwx_source "${RWX_ROOT_SYSTEM}"; then
|
||||
__rwx_log "Not a directory: ${RWX_ROOT_SYSTEM}"
|
||||
|
@ -133,6 +136,11 @@ rwx_main() {
|
|||
rwx_log
|
||||
rwx_self_help
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# run main function
|
||||
|
|
Loading…
Add table
Reference in a new issue