Files are deleted after restart of HA

Hi, I am trying to get sensor readings from my hardware. I managed to install IPMITOOL through Terminal and add the sensor configuration.But after restarting all the files I added are gone.
Is it not possible to add files in folders like /usr/sbin or /usr/bin?

Did you close the file before restarting, or at least do a proper restart?

I installed ‘ipmitools’ through ‘apk add ipmitools’ in the terminal. Worked all fine and I could get information from the server like CPU temperature and fan speed. After a restart the ipmitool executable in /user/sbin is gone.

To close the post. I moved ‘ipmitool’ to config folder and it all works fine for already several weeks. I use a script to call ‘ipmitool’ only once and capture all sensor output in a file. All the sensor data are extracted by reading the text file.

...
 - platform: command_line
    name: Get Server Sensors
    command: "./ipmi/getsensors.sh"
  - platform: command_line
    name: MB_temperature
    command: "cat sensors.txt | grep 'MB Temp' | cut -d '|' -f2 | tr -d ' '"
    unit_of_measurement: "°C"
    value_template: "{{ value | round(2) }}"
  - platform: command_line
    name: Card_temperature
    command: "cat sensors.txt | grep 'Card Side Temp' | cut -d '|' -f2 | tr -d ' '"
    unit_of_measurement: "°C"
    value_template: "{{ value | round(2) }}"
  - platform: command_line
    name: CPU_temperature
    command: "cat sensors.txt | grep 'CPU Temp' | cut -d '|' -f2 | tr -d ' '"
    unit_of_measurement: "°C"
    value_template: "{{ value | round(2) }}"
...