-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinstall-rgb.sh
executable file
·30 lines (23 loc) · 920 Bytes
/
install-rgb.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Install dependencies
sudo apt install rustc cargo make
sudo cp ./standard3d.wav /usr/local/share
sudo cp ./vrip360.wav /usr/local/share
# Install RGB driver
cargo build --release
sudo cp ./target/release/msi-rgb /usr/local/bin
sudo chmod u+s /usr/local/bin/msi-rgb
# Install and start all RGB services (comment out any you don't want)
# Read and configure the scripts before installing
sudo cp ./rgb-cpu.service /etc/systemd/system
sudo cp ./rgb-cpu.sh /usr/local/bin
sudo systemctl enable rgb-cpu
sudo systemctl start rgb-cpu
sudo cp ./rgb-net.service /etc/systemd/system
sudo cp ./rgb-net.sh /usr/local/bin
sudo systemctl --user enable rgb-net
sudo systemctl --user start rgb-net
sudo cp ./rgb-sound.service /etc/systemd/system
sudo cp ./rgb-sound.sh /usr/local/bin
sudo systemctl --user enable rgb-sound
sudo systemctl --user start rgb-sound