11 lines
214 B
Bash
Executable File
11 lines
214 B
Bash
Executable File
#! /bin/bash
|
|
|
|
readonly WMI=/sys/devices/platform/huawei-wmi
|
|
|
|
echo "started"
|
|
|
|
echo "$(/bin/whoami)"
|
|
|
|
chmod g+w "$WMI/leds/platform::micmute/brightness"
|
|
chown root:huawei-wmi "$WMI/leds/platform::micmute/brightness"
|