Skip to content

jamiehoward/usb-shutdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

USB Shutdown

A script to monitor for usb drive and shutdown computer when removed.

How to use

  • git clone https://github.com/jamiehoward/usb-shutdown
  • cd usb-shutdown
  • chmod +x check.sh
  • Plug in a USB drive
  • sudo check.sh /Volumes/drive/
  • Put in your password
  • Remove the USB drive, either forcefully or by ejecting it.

About

A script to monitor for usb drive and shutdown computer when removed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages