I want to execute the script on removal of usb drive. In that script I want to restart the server.
Is there any way to do the same ? I know I have to modify the rules in /etc/udev/rules.d/.
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related
Hot Network Questions
- Does an SMS OTP have to be recreated for every message?
- Key value option for enumerate definition
- What is the USER= value reported for sudo attempts?
- Chopin Nocturne in G minor Op. 15 No. 3 Measures 87-88 the two are the same note (C#=Db)?
- Do blueshifted and redshifted light sources have differing energies?
- Vertical bars...or I mean...well, you'll get what I mean
- "O fortunati, quorum iam moenia surgunt!" -- why the indicative mood?
- How to design a distributed system with an event broker where strong ordering is required?
- Instrumental parts page size, 8.5x11 or 9x12?
- Staggered monitors: Mouse moving to other monitor where not abutting
- Can you bypass PIN requirement of FIDO token protected LUKS device with hex editor?
- Command with `^^` and `__` as exponent optional arguments
- Was 2023 the first time a person in California was killed in a black bear attack?
- Why are Jeremy Crawford's rules comments unreliable?
- ASCII-based Lightweight Browser in Python with Clippy-Style Helper (Updated)
- Bethesda or Bethzatha in John 5:2?
- Multiple comparisons with uncertain number of tests
- What, if any, is the list analogue of KeyValuePattern?
- Proper antonym of "body shaming"
- Is a differential pair stage of an opamp still useful with single ended input
- Is the transfer principle useless?
- Different CIs for the same linear mixed model emmeans, ggemmeans, ggpredict
- Proving an order relation between two concrete real numbers (Lean)
- Expectation of an absolute value
usb removeand also runsreboot.