rwfus
rwfus copied to clipboard
Sane default behavior when rwfus is installed
Running rwfus without any parameters will currently attempt to install rwfus again. This is great for a first install, but it may be undesired behavior if rwfus is already installed.
TODO: If run without options:
- Check if rwfus is installed in the default location, or if a config file is passed in, check there.
- If installed, print the status of rwfus unit files
- Else, ask if it's alright to install rwfus to the default location, and get user confirmation
-
sudo $0 --install --logfile "$Logfile" $@
(is this sane?)