Explorar el Código

Add OS-specific alternative notes

master
Arun Prakash Jana hace 5 años
padre
commit
f02e0d359f
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: A75979F35C080412
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      plugins/nmount

+ 5
- 0
plugins/nmount Ver fichero

@@ -4,10 +4,15 @@
# If the device is not mounted, it will be mounted.
# If the device is mounted, it will be unmounted and powered down.
#
# Note: The script uses Linux-specific lsblk to list block devices. Alternatives:
# macOS: "diskutil list"
# BSD: "geom disk list"
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana

lsblk

echo
echo "Make sure you aren't still in the mounted device."
echo -n "device (e.g. sdc2): "


Cargando…
Cancelar
Guardar