Browse Source

Add demo mode restriction to v-copy-user-package

Kristan Kenney 6 years ago
parent
commit
d65427d143
1 changed files with 4 additions and 0 deletions
  1. 4 0
      bin/v-copy-user-package

+ 4 - 0
bin/v-copy-user-package

@@ -16,6 +16,10 @@ new_package=$2
 source $HESTIA/func/main.sh
 source $HESTIA/conf/hestia.conf
 
+
+# Perform verification if read-only mode is enabled
+check_hestia_demo_mode
+
 #----------------------------------------------------------#
 #                       Action                             #
 #----------------------------------------------------------#