This file contains hidden or 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
#!/bin/bash | |
# A quick script to check language usage in phpBB extension | |
# Author: Stanislav Atanasov ([email protected] | |
# Script provided as is! | |
VARIABLES=( "$@" ) | |
LANG_FILE='' | |
TARGET_EXT='' |
This file contains hidden or 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
--- RetroPie-Setup/scriptmodules/supplementary/runcommand/runcommand.sh 2016-05-25 11:51:09.420177474 +0000 | |
+++ /opt/retropie/supplementary/runcommand/runcommand.sh 2016-05-25 12:05:42.353124138 +0000 | |
@@ -799,9 +799,9 @@ | |
if [[ "$emulator" == frotz || "$is_console" -eq 1 || "$is_sys" -eq 0 ]]; then | |
# turn cursor on | |
tput cnorm | |
- eval $command </dev/tty 2>/tmp/runcommand.log | |
+ eval $command </dev/tty0 2>/tmp/runcommand.log | |
else | |
- eval $command </dev/tty &>/tmp/runcommand.log |
This file contains hidden or 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
#!/bin/bash | |
sudo openvt -c 7 -s -f clear | |
sudo openvt -c 7 -f "$(emulationstation)" & | |
sleep 8 | |
sudo service xbmc stop |
This file contains hidden or 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
#!/usr/bin/env bash | |
IFACE="usb0" | |
NETNSNAME="anavarovpn" | |
OVPNCONF="/some/path/to/file.ovpn" | |
USER="user" | |
if [[ $UID != 0 ]]; then | |
echo "This must be run as root." | |
exit 1 |