Skip to content

miguelifs/remove-boot-device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

remove-boot-device

Bash script and systemd service file that powers off/unmounts a removable storage device containing the /boot partition of a Linux system.

$ git clone https://github.com/mdxio/remove-boot-device && cd remove-boot-device

# install -D -m755 bootdev-poweroff.sh /usr/bin/bootdev-poweroff.sh

$ systemctl enable bootdev-poweroff.service

About

Poweroff a removable storage device containing a linux /boot partition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages