Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit 89350c0

Browse files
committed
snake case all function names
1 parent 33cb547 commit 89350c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

entrypoint.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ log() {
6363
echo "----> $1"
6464
}
6565

66-
logHeader() {
66+
log_header() {
6767

6868
echo ''
6969
echo '=================================================================='
@@ -142,7 +142,7 @@ stop_exportfs() {
142142

143143
stop() {
144144

145-
logHeader 'terminating ...'
145+
log_header 'terminating ...'
146146

147147
kill_process_if_running "$PATH_BIN_RPC_SVCGSSD"
148148
stop_nfsd
@@ -154,7 +154,7 @@ stop() {
154154
stop_mount "$MOUNT_PATH_NFSD"
155155
stop_mount "$MOUNT_PATH_RPC_PIPEFS"
156156

157-
logHeader 'terminated'
157+
log_header 'terminated'
158158

159159
exit 0
160160
}
@@ -516,7 +516,7 @@ boot_main_svcgssd() {
516516

517517
boot_main_print_ready_message() {
518518

519-
logHeader "ready and waiting for connections on port $(get_reqd_nfsd_port)"
519+
log_header "ready and waiting for connections on port $(get_reqd_nfsd_port)"
520520
log 'list of exports:'
521521
cat $PATH_FILE_ETC_EXPORTS
522522
}
@@ -528,7 +528,7 @@ boot_main_print_ready_message() {
528528

529529
init() {
530530

531-
logHeader 'setting up'
531+
log_header 'setting up'
532532

533533
init_trap
534534
init_exports
@@ -539,7 +539,7 @@ init() {
539539

540540
boot() {
541541

542-
logHeader 'starting services'
542+
log_header 'starting services'
543543

544544
boot_main_mounts
545545
boot_main_rpcbind

0 commit comments

Comments
 (0)