mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
udevadm: introduce --revert option to call io.systemd.service.Revert
This commit is contained in:
@@ -93,7 +93,7 @@ _udevadm() {
|
||||
-g --tag-match -y --sysname-match --name-match -b --parent-match
|
||||
--prioritized-subsystem'
|
||||
[SETTLE]='-t --timeout -E --exit-if-exists'
|
||||
[CONTROL_STANDALONE]='-e --exit -s --stop-exec-queue -S --start-exec-queue -R --reload --ping
|
||||
[CONTROL_STANDALONE]='-e --exit -s --stop-exec-queue -S --start-exec-queue -R --reload --ping --revert
|
||||
--load-credentials'
|
||||
[CONTROL_ARG]='-l --log-priority -p --property -m --children-max -t --timeout --trace'
|
||||
[MONITOR_STANDALONE]='-k --kernel -u --udev -p --property'
|
||||
|
||||
@@ -67,6 +67,7 @@ _udevadm_control(){
|
||||
'(-p --property)'{-p,--property=}'[Set a global property for all events.]:KEY=VALUE' \
|
||||
'(-m --children-max=)'{-m,--children-max=}'[Set the maximum number of events.]:N' \
|
||||
'--trace=[Enable/disable trace logging.]:BOOL' \
|
||||
'--revert[Revert previously set configurations.]' \
|
||||
'(-t --timeout=)'{-t,--timeout=}'[The maximum number of seconds to wait for a reply from systemd-udevd.]:SECONDS'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user