-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use absolute paths within systemd units.
Supporting systemd prior to 239.
- Loading branch information
Rouven Spreckels
committed
Aug 17, 2019
1 parent
4c8882b
commit d0e63db
Showing
20 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
6 changes: 6 additions & 0 deletions
6
debian/huawei-wmi-1.0.0/debian/changelog → debian/huawei-wmi-1.0.1/debian/changelog
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
huawei-wmi (1.0.1) stable; urgency=medium | ||
|
||
* Use absolute paths within systemd units supporting systemd prior to 239. | ||
|
||
-- Rouven Spreckels <[email protected]> Sat, 17 Aug 2019 10:37:41 +0200 | ||
|
||
huawei-wmi (1.0.0) stable; urgency=medium | ||
|
||
* Add `suspend-then-hibernate.target`. | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Huawei WMI Privilege | ||
After=sys-devices-platform-huawei\x2dwmi.device | ||
|
||
[Service] | ||
Type=oneshot | ||
Environment=SYS=/sys/devices/platform/huawei-wmi | ||
ExecStart=/bin/sh -c '[ -e ${SYS}/charge_thresholds -a -e ${SYS}/fn_lock_state ] || sleep 1' | ||
ExecStart=/bin/chgrp huawei-wmi ${SYS}/charge_thresholds ${SYS}/fn_lock_state | ||
ExecStart=/bin/chmod g=u ${SYS}/charge_thresholds ${SYS}/fn_lock_state | ||
|
||
[Install] | ||
WantedBy=sys-devices-platform-huawei\x2dwmi.device |
This file contains 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