Skip to content

Commit f71937a

Browse files
author
Kristan Kenney
committed
Restrict system restart via backend script if demo mode is enabled
1 parent cac221a commit f71937a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/v-restart-system

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ source $HESTIA/func/main.sh
2323
check_args '1' "$#" 'RESTART'
2424

2525

26+
# Perform verification if read-only mode is enabled
27+
check_hestia_demo_mode
28+
2629
#----------------------------------------------------------#
2730
# Action #
2831
#----------------------------------------------------------#

0 commit comments

Comments
 (0)