14 lines
911 B
Plaintext
Raw Normal View History

2023-07-29 00:11:45 +03:00
#!/bin/bash
2023-04-27 19:12:29 +03:00
set -e
2023-07-29 00:11:45 +03:00
if [[ ":Jupiter:" =~ "$(cat /sys/devices/virtual/dmi/id/product_name)" ]]
then
systemctl enable --now jupiter-biosupdate.service || echo "jupiter-biosupdate service could not be enabled"
systemctl enable --now jupiter-controller-update.service || echo "jupiter-controller-update service could not be enabled"
systemctl enable --now jupiter-fan-control.service || echo "jupiter-fan-control service could not be enabled"
systemctl --global enable --now sdgyrodsu.service || echo "sdgyrodsu service could not be enabled"
systemctl enable --now sdgyrodsu.service || echo "sdgyrodsu service could not be enabled"
systemctl --global enable --now jupiter-controller-update.service || echo "jupiter-controller-updatel service could not be enabled"
systemctl --global enable --now jupiter-fan-control.service || echo "jupiter-fan-control service could not be enabled"
fi