Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb-import fails if just 2 partitions #72

Open
borpin opened this issue Mar 8, 2023 · 0 comments
Open

usb-import fails if just 2 partitions #72

borpin opened this issue Mar 8, 2023 · 0 comments

Comments

@borpin
Copy link
Contributor

borpin commented Mar 8, 2023

if [ "$partprobe" == "/dev/$diskname: msdos partitions 1 2 3" ]; then

As per discussion (and solution) here the import fails if there are only 2 partitions i.e. the data is on the root partition.

The script recovers from this later when looking for the mysql database, but not for the data files in /var/lib.

Suggest an extra check is made to find the data folders (including phpfiwa).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant