[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to create a service for contents of arbitrary file
From: |
Julien Lepiller |
Subject: |
Re: How to create a service for contents of arbitrary file |
Date: |
Wed, 07 Apr 2021 07:12:43 -0400 |
User-agent: |
K-9 Mail for Android |
There's special-files-service-type described here:
http://guix.gnu.org/manual/devel/en/html_node/Base-Services.html#Base-Services
However, I'm not sure it will work in /sys. I guess you'll have to try and
report back :)
HTH!
Le 7 avril 2021 00:11:38 GMT-04:00, Bone Baboon <bone.baboon@disroot.org> a
écrit :
>When I use a virtual terminal or Emacs on a virtual terminal using
>`emacsclient --tty` I have a blinking cursor. My preference is to not
>have the cursor blink. I can stop the cursor from blinking by manually
>changing the contents of `/sys/class/graphics/fbcon/cursor_blink` to
>"0". I would like to create a service that manages the contents of
>`/sys/class/graphics/fbcon/cursor_blink`.
>
>I looked in "Services" as well as the "Defining Services" of the manual
>for something similar to `etc-service-type` that allows for the file to
>be in any location.
>
>Any suggestions on how to make a service for this?