Upload files to "content"
This commit is contained in:
parent
cbb28359d2
commit
795d77497d
3 changed files with 39 additions and 0 deletions
10
content/90-corectrl.rules
Normal file
10
content/90-corectrl.rules
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
polkit.addRule(function(action, subject) {
|
||||||
|
if ((action.id == "org.corectrl.helper.init" ||
|
||||||
|
action.id == "org.corectrl.helperkiller.init") &&
|
||||||
|
subject.local == true &&
|
||||||
|
subject.active == true &&
|
||||||
|
subject.isInGroup("egon")) {
|
||||||
|
return polkit.Result.YES;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
10
content/amd_mesa_hardveres_codec.sh
Normal file
10
content/amd_mesa_hardveres_codec.sh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /tmp/
|
||||||
|
git clone https://gitlab.manjaro.org/packages/extra/mesa/
|
||||||
|
cd /tmp/mesa/
|
||||||
|
sudo sed -i '/-D microsoft-clc=disabled/a -D video-codecs=all' /home/egon/PKGBUILD
|
||||||
|
#Keresd meg a fájlban ezt a sort: ""-D microsoft-clc=disabled"" \n Alá beillesztés ""-D video-codecs=all""\n aztán mentés. \n ' --width='510' --height='100'
|
||||||
|
makepkg -si --skippgpcheck --noconfirm1234
|
||||||
|
cd /tmp/
|
||||||
|
rm -Rf mesa
|
19
content/qemu
Normal file
19
content/qemu
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
GUEST_NAME="$1"
|
||||||
|
HOOK_NAME="$2"
|
||||||
|
STATE_NAME="$3"
|
||||||
|
MISC="${@:4}"
|
||||||
|
|
||||||
|
BASEDIR="$(dirname $0)"
|
||||||
|
|
||||||
|
HOOKPATH="$BASEDIR/qemu.d/$GUEST_NAME/$HOOK_NAME/$STATE_NAME"
|
||||||
|
set -e # If a script exits with an error, we should as well.
|
||||||
|
|
||||||
|
if [ -f "$HOOKPATH" ]; then
|
||||||
|
eval \""$HOOKPATH"\" "$@"
|
||||||
|
elif [ -d "$HOOKPATH" ]; then
|
||||||
|
while read file; do
|
||||||
|
eval \""$file"\" "$@"
|
||||||
|
done <<< "$(find -L "$HOOKPATH" -maxdepth 1 -type f -executable -print;)"
|
||||||
|
fi
|
Loading…
Reference in a new issue