tariqbuilds / linux-dash

A beautiful web dashboard for Linux
https://afaqurk.github.io/linux-dash/
MIT License
10.43k stars 1.21k forks source link

OpenBSD 7.2 issue #512

Open g2px1 opened 1 year ago

g2px1 commented 1 year ago
doas go run index.go  
Starting http server at: 0.0.0.0:80
Error executing 'current_ram': fork/exec ./linux_json_api.sh: no such file or directory
    Script output: 
Error executing 'ram_intensive_processes': fork/exec ./linux_json_api.sh: no such file or directory
    Script output: 
Error executing 'cpu_intensive_processes': fork/exec ./linux_json_api.sh: no such file or directory
    Script output: 
Error executing 'disk_partitions': fork/exec ./linux_json_api.sh: no such file or directory
    Script output: 
Error executing 'docker_processes': fork/exec ./linux_json_api.sh: no such file or directory
    Script output: 
Error executing 'swap': fork/exec ./linux_json_api.sh: no such file or directory
    Script output: 
Error executing 'load_avg': fork/exec ./linux_json_api.sh: no such file or directory
    Script output: 
Error executing 'cpu_temp': fork/exec ./linux_json_api.sh: no such file or directory
    Script output: 
Error executing 'cpu_utilization': fork/exec ./linux_json_api.sh: no such file or directory
    Script output:
g2px1 commented 1 year ago

Can be fixed with adding at the begging of linux*.sh file this string:

#!/usr/bin/env bash

However, there still be errors