mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
13 lines
404 B
Desktop File
13 lines
404 B
Desktop File
[Unit]
|
|
Description=Set vmeta clock to %I
|
|
ConditionFileIsExecutable=/bin/sh
|
|
ConditionPathIsReadWrite=/sys/devices/platform/dove_clocks_sysfs.0/vmeta
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/sh -c "echo %I000000 > /sys/devices/platform/dove_clocks_sysfs.0/vmeta"
|
|
ExecStop=/bin/sh -c "echo 500000000 > /sys/devices/platform/dove_clocks_sysfs.0/vmeta"
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|