mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
Ignore root partition on mount as it's statically defined
This commit is contained in:
parent
274e897bd6
commit
42e9bdef0c
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ load_vars() {
|
|||
grep 'Jail list:' | sed 's/.*Jail list://' | sed 's/,//g')"
|
||||
readonly mount_parts="$(mount |
|
||||
cut -d' ' -f3 |
|
||||
grep -E -v '^/run|^/dev|^/proc|^/sys|^/snap')"
|
||||
grep -E -v '^/run|^/dev|^/proc|^/sys|^/snap|^/$')"
|
||||
app_data_dirs="$(echo /home/yunohost.app/*)"
|
||||
readonly home_user_dirs="$(echo /home/* | home_dir_filter)"
|
||||
readonly net_gateway="$(ip --json route show default | jq -r '.[0].dev')"
|
||||
|
|
Loading…
Add table
Reference in a new issue