From e6dd1c6d240b423c74385afe0cb4d981cc58c2ec Mon Sep 17 00:00:00 2001 From: Cody Cook Date: Thu, 7 Dec 2017 22:23:47 -0800 Subject: [PATCH] Add debugging information to the README quiet the curl. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 349b552..14bea26 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To quickly resolve the shares and LUNs not showing in the UI, you can copy/paste ``` -root@readynasos:#/ curl https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh | bash +root@readynasos:#/ curl -s https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh | bash ``` Refresh the UI and the shares should be restored. @@ -30,3 +30,9 @@ Refresh the UI and the shares should be restored. * Push `esc` and then type `:wq` then hit enter. * Type `chmod +x /root/share_lun_ui_fix.sh` then type `/root/share_lun_ui_fix.sh` * The script will run. + +### Acquiring debug information +If this script fails or produces an error, please run the following command and submit an issue. +``` +root@readynasos:#/ curl -s https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh | bash -x +```