瀏覽代碼

Add OS-specific alternative notes

master
Arun Prakash Jana 5 年之前
父節點
當前提交
f02e0d359f
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      plugins/nmount

+ 5
- 0
plugins/nmount 查看文件

@@ -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): "


Loading…
取消
儲存