mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-24 08:38:40 -07:00
Move many third-party components' source codes from the src folder to a new folder called deps_src. The goal is to make the code structure clearer and easier to navigate.
10 lines
321 B
Bash
Executable file
10 lines
321 B
Bash
Executable file
#!/usr/bin/env sh
|
|
if [ $# -eq 0 ]; then
|
|
echo "No arguments supplied"
|
|
exit 1
|
|
fi
|
|
|
|
DEVICE=$(basename $(findmnt -oSOURCE -n "$@") )
|
|
|
|
exec /usr/bin/gdbus call -y -d org.freedesktop.UDisks2 -o /org/freedesktop/UDisks2/block_devices/$DEVICE -m org.freedesktop.UDisks2.Filesystem.Unmount "{'b': <'false'>}" 1> /dev/null
|
|
|