-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
RFE: support escaped double quotes in RUN and PROGRAM in udev rules #6835
Copy link
Copy link
Closed
Labels
RFE 🎁Request for Enhancement, i.e. a feature requestRequest for Enhancement, i.e. a feature requestudev
Description
Submission type
- Request for enhancement (RFE)
systemd version the issue has been seen with
233
Used distribution
Fedora 26
RFE
It would be really useful to support nested and escaped ouble quotes in PROGRAM and RUN directives. For example:
PROGRAM!="/usr/bin/sh -c '/usr/sbin/smartctl -l scterc /dev/$parent | grep -q \"not supported\" && exit 0 || exit 1'",
Is pretty much impossible to enact without this support. Nesting single quotes and escaping (i.e. '\''not supported'\'') doesn't work in this circumstance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
RFE 🎁Request for Enhancement, i.e. a feature requestRequest for Enhancement, i.e. a feature requestudev