mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
cpufreqscaling: call unscaler at shutdown
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
1242b70048
commit
80d089b4ef
@ -67,7 +67,7 @@ fi
|
|||||||
DELETE FROM task WHERE task_name LIKE 'Rescaler';
|
DELETE FROM task WHERE task_name LIKE 'Rescaler';
|
||||||
INSERT INTO task VALUES('Rescaler', '', 'bootup', '', 0, 0, 0, 0, '', 0, '/usr/sbin/rescaler.sh ${2}', 'script', '{}', '', '', '{}', '{}');
|
INSERT INTO task VALUES('Rescaler', '', 'bootup', '', 0, 0, 0, 0, '', 0, '/usr/sbin/rescaler.sh ${2}', 'script', '{}', '', '', '{}', '{}');
|
||||||
DELETE FROM task WHERE task_name LIKE 'Unscaler';
|
DELETE FROM task WHERE task_name LIKE 'Unscaler';
|
||||||
INSERT INTO task VALUES('Unscaler', '', 'bootup', '', 0, 0, 0, 0, '', 0, '/usr/sbin/unscaler.sh', 'script', '{}', '', '', '{}', '{}');
|
INSERT INTO task VALUES('Unscaler', '', 'shutdown', '', 0, 0, 0, 0, '', 0, '/usr/sbin/unscaler.sh', 'script', '{}', '', '', '{}', '{}');
|
||||||
EOF
|
EOF
|
||||||
elif [ "${1}" = "uninstall" ]; then
|
elif [ "${1}" = "uninstall" ]; then
|
||||||
echo "Installing cpufreqscalingscaling - ${1}"
|
echo "Installing cpufreqscalingscaling - ${1}"
|
||||||
|
Loading…
Reference in New Issue
Block a user