Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.suse    |    Suse is actually not that bad    |    138,051 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 136,108 of 138,051    |
|    Paulo da Silva to All    |
|    Re: init script    |
|    28 Jan 17 19:03:54    |
      From: p_s_d_a_s_i_l_v_a_ns@netcabo.pt              OK, thank you all.              I completely forgot I have already written a service for hdparm.       In OS 42.1 hdparm configuration is lost after suspend!       So I wrote a service to put it back again when I first installed OS 42.1.              The only problem is the "After". May be local-fs.target works (thanks       Carlos). I'll give it a try.              BTW, for those who may be interested here is the service I wrote for       hdparm. I didn't check if the problem still persists in 42.2.              File /etc/systemd/system/hdparm.service:       __________________________________________       # Activate it with:       # systemctl enable hdparm.service       # systemctl daemon-reload              [Unit]       Description=hdparm settings       After=suspend.target              [Service]       Type=oneshot       ExecStart=/sbin/hdparm -qB 254 -qS 240 /dev/disk/by-id/ata-...              [Install]       WantedBy=suspend.target basic.target              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca