forked from tfgrid/zosbuilder
fix: Switch to space-separated sources.conf format
- Change from colon to space separation to avoid URL parsing issues - Update sources.conf format: TYPE NAME URL VERSION BUILD_FUNCTION [EXTRA] - Implement awk-based parsing for reliable field extraction - Fix firmware package list (remove unavailable linux-firmware-marvell)
This commit is contained in:
18
initramfs/usr/lib/udev/rules.d/60-autosuspend.rules
Normal file
18
initramfs/usr/lib/udev/rules.d/60-autosuspend.rules
Normal file
@@ -0,0 +1,18 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add", GOTO="autosuspend_end"
|
||||
|
||||
# I2C rules
|
||||
SUBSYSTEM=="i2c", ATTR{name}=="cyapa", \
|
||||
ATTR{power/control}="on", GOTO="autosuspend_end"
|
||||
|
||||
# Enable autosuspend if hwdb says so. Here we are relying on
|
||||
# the hwdb import done earlier based on MODALIAS.
|
||||
ENV{ID_AUTOSUSPEND}=="1", TEST=="power/control", \
|
||||
ATTR{power/control}="auto"
|
||||
|
||||
# Disable USB persist if hwdb says so.
|
||||
ENV{ID_PERSIST}=="0", TEST=="power/persist", \
|
||||
ATTR{power/persist}="0"
|
||||
|
||||
LABEL="autosuspend_end"
|
||||
Reference in New Issue
Block a user