LINUX.ORG.RU

История изменений

Исправление KOT040188, (текущая версия) :

[Unit]
 Before=hibernate.target
 Before=hybrid-sleep.target
 Before=suspend.target
 Before=shutdown.target
 Before=sleep.target
   
[Service]
 Type=oneshot
 ExecStart=/usr/bin/ddccontrol -r 0xe1 -w 0 dev:/dev/i2c-1
 RemainAfterExit=yes

[Install]
WantedBy=shutdown.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
WantedBy=suspend.target

Хоть ты тресни, не работает.

Исходная версия KOT040188, :

[Unit]
 Before=hibernate.target
 Before=hybrid-sleep.target
 Before=suspend.target
 Before=shutdown.target
 Before=sleep.target
   
[Service]
 Type=oneshot
 ExecStart=/usr/bin/ddccontrol -r 0xe1 -w 0 dev:/dev/i2c-1
 RemainAfterExit=yes

[Install]
WantedBy=shutdown.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
WantedBy=suspend.target

Хоть ты тресни не работает.