Compare commits

...

2 Commits

Author SHA1 Message Date
Fierelier 24043720d7 Add prerequisite check script 2024-02-15 15:51:25 +01:00
Fierelier e0f2a45535 Add info about prerequisites 2024-02-15 15:51:08 +01:00
2 changed files with 35 additions and 0 deletions

View File

@ -1,5 +1,20 @@
A file-system manager similar to GVfs, but without a daemon, and without dbus
Prerequisites:
* bash
* coreutils
* mount
* umount
* eject
* blkid
* lsblk
* findmnt
* hdparm (for shutting disks down)
* cryptsetup (for setting up LUKS block devices)
For a basic check of prerequisites, you can run "./check_prereq" as root
Usage:
* Installation: ./install
* Uninstallation: ./uninstall
* Running: mountman

20
check_prereq Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/env bash
prereqs=(
"bash"
"mkdir"
"mount"
"umount"
"eject"
"blkid"
"lsblk"
"findmnt"
"hdparm"
"cryptsetup"
)
for prereq in "${prereqs[@]}"; do
echo -n "$prereq: "
if ! command -v "$prereq"; then
echo "NOT FOUND."
fi
done