Is there a systemd syntax guide someplace?
I have been running Fedora for a while and I have seen some messages about certain keywords in systemd being depreciated. I assume that that means that those keywords are being phased out and replaced by something new. Where can I find the syntax now being used? Here is the line in one of my rules that is failing to work:
BUS=="usb", SYSFS{idVendor}=="045e", SYSFS{idProduct}=="0745", ACTION=="add", RUN+="/etc/init.d/btnx start" How can I figure out what the proper syntax is to get this to work? Thank you, Vince Radice |
ummm ... are you sure that is from a systemd file?? I would have said it looks a lot like a udev rule
|
It is udev... but systemd is trying to takeover udev as well as everything else..
What system is this on? |
There're a number of links to systemd documentation at this site. Scroll about two-thirds of the way down the page:
http://www.freedesktop.org/wiki/Software/systemd/ |
Thanks for the quick responses.
Yes, it is a udev rule. I am using btnx to map extra buttons on my mouse to key strokes. This worked until a recent update. I am running Fedora 19 - 64 bit. To get it to work now, I need to go into the System programs, bring up btnx and restart it. It is a nuisance and not really a problem. I looked at the documentation and found the reference that talks about udev rules. I started looking through it and some of the terminology seems to require a very intimate knowledge of how linux works. I was hoping to find a simple guide that describes the keywords that are being deprecated and how to convert to the new syntax. Any help would be appreciated. |
All times are GMT -5. The time now is 06:21 PM. |