|
@@ -1,10 +1,9 @@
|
|
|
#!/bin/sh
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
hestia_ver() {
|
|
hestia_ver() {
|
|
|
- echo "Hestia ver $@"
|
|
|
|
|
- echo "Demo of single-level commands"
|
|
|
|
|
|
|
+ ver=$(osal_kv_read $HESTIA/conf/hestia.conf 'VERSION' 'unknown')
|
|
|
|
|
+ echo "Hestia version $ver"
|
|
|
|
|
+ echo ""
|
|
|
|
|
+ echo "An open-source Linux web server control panel. https://hestiacp.com/"
|
|
|
|
|
+ echo -e "\033[0;31m♥\033[0m Made with love & pride by the open-source community from around the world."
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-# If this files is _not_ being sourced, act immediately
|
|
|
|
|
-# (otherise, wait for hestia cli to call the main function)
|
|
|
|
|
-[[ $_ == $0 ]] && hestia_web_domain_list $@
|
|
|