-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
13 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#!/bin/sh | ||
sudo mv /home/pi/Templates/Disable/cmdline.txt /boot/ | ||
sudo mv /home/pi/Templates/Disable/cmdline.txt /boot/ | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Boot messages disabled." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#!/bin/sh | ||
sudo mv /boot/cmdline.txt /home/pi/Templates/Disable/ | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Boot messages enabled." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Resetting first boot message..." | ||
sudo rm 1.txt && reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#!/bin/bash | ||
printf "fps" | tee /home/pi/vitadock.conf | ||
printf "fps" | tee /home/pi/vitadock.conf | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Switched to SD @ 60FPS." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/bin/bash | ||
|
||
sudo systemctl set-default multi-user.target | ||
sudo reboot now | ||
MODEL="/sys/firmware/devicetree/base/model" | ||
|
||
if grep -q "Raspberry Pi 4" "$MODEL"; then | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "This feature is not supported on your Pi model." | ||
else | ||
sudo systemctl set-default multi-user.target | ||
sudo reboot now | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#!/bin/bash | ||
printf "pc" | tee /home/pi/vitadock.conf | ||
printf "pc" | tee /home/pi/vitadock.conf | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Switched to Plugin Controlled mode." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#!/bin/bash | ||
printf "res" | tee /home/pi/vitadock.conf | ||
printf "res" | tee /home/pi/vitadock.conf | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Switched to HD @ 30FPS." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#!/bin/bash | ||
printf "sharp" | tee /home/pi/vitadock.conf | ||
printf "sharp" | tee /home/pi/vitadock.conf | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Switched to Sharpscale mode." |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Switching to Dongle Bluetooth..." | ||
sudo mv ./blacklist-bluetooth.conf /etc/modprobe.d/ && reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
notify-send -i /home/pi/Pictures/Icons/pspic.png "VitaDock Plus" "Switching to Internal Bluetooth..." | ||
sudo mv /etc/modprobe.d/blacklist-bluetooth.conf ./ && reboot |