Expand warning notice for ddrescue-tui under macOS
This commit is contained in:
parent
ffa2df416b
commit
d722e587b1
1 changed files with 14 additions and 8 deletions
|
|
@ -2,15 +2,21 @@
|
||||||
#
|
#
|
||||||
## Wizard Kit: ddrescue TUI Launcher
|
## Wizard Kit: ddrescue TUI Launcher
|
||||||
|
|
||||||
# Check if running under Linux
|
__OS_NAME="$(uname -s)"
|
||||||
os_name="$(uname -s)"
|
if [[ "$__OS_NAME" == "Darwin" ]]; then
|
||||||
if [[ "$os_name" == "Darwin" ]]; then
|
__OS_NAME="macOS"
|
||||||
os_name="macOS"
|
|
||||||
fi
|
fi
|
||||||
if [[ "$os_name" != "Linux" ]]; then
|
__NOTICE="This script is not fully supported under $__OS_NAME!
|
||||||
echo "This script is not fully supported under $os_name." 1>&2
|
|
||||||
echo ""
|
Limitations:
|
||||||
echo "Press Enter to continue..."
|
Map files are saved to a RAM disk so you can't resume after a restart.
|
||||||
|
Only whole devices are supported.
|
||||||
|
|
||||||
|
Press Enter to continue..."
|
||||||
|
|
||||||
|
# Check if running under Linux
|
||||||
|
if [[ "$__OS_NAME" != "Linux" ]]; then
|
||||||
|
echo "${__NOTICE}"
|
||||||
read -r _dontcare
|
read -r _dontcare
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue