Skip to content

Commit

Permalink
Create start_services.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fightforlife authored Jan 2, 2022
1 parent b0022fa commit aebd048
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions start_services.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

#detect sensors and load modules
sensors-detect --auto | sed -n '/# Chip drivers/,/#----cut here----/{//!p;}' | xargs -n1 modprobe

hddfancontrol $1 &

# Wait for any process to exit
wait -n

# Exit with status of process that exited first
exit $?

0 comments on commit aebd048

Please sign in to comment.