mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
rrd monitoring support
This commit is contained in:
parent
b2db73ccca
commit
a45bf7e4bd
10 changed files with 846 additions and 0 deletions
|
@ -1079,6 +1079,22 @@ v_shell_list() {
|
|||
done < $conf
|
||||
}
|
||||
|
||||
# Clear listing function
|
||||
v_clear_list() {
|
||||
# Reading file line by line
|
||||
while read line ; do
|
||||
|
||||
# Parsing key=value
|
||||
for key in $line; do
|
||||
eval ${key%%=*}=${key#*=}
|
||||
done
|
||||
|
||||
# Print result line
|
||||
eval echo "$fields"
|
||||
|
||||
done < $conf
|
||||
}
|
||||
|
||||
usr_json_single_list() {
|
||||
# Definigng variables
|
||||
USER="$user" # user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue