Commit Graph

27 Commits

Author SHA1 Message Date
052fd018e5 Remove debug echoes 2022-08-19 10:24:33 -07:00
2b2bdaab23 Init nas_down.sh 2022-08-19 10:17:09 -07:00
e70d5e3fe2 idk man 2022-08-18 11:04:14 -07:00
532e19a614 Add parentheses, remove newline 2022-08-18 11:01:48 -07:00
48e00a304c Add newline 2022-08-18 11:01:22 -07:00
61302c2620 Add quotes 2022-08-18 11:01:05 -07:00
4f24c5074e Add list build logic 2022-08-18 11:00:41 -07:00
42ce81e7f6 Closer 2022-08-18 10:58:35 -07:00
39c23ac961 Toward silence, one step at a time 2022-08-18 10:57:49 -07:00
f1c522389b If $MATCH == 0 2022-08-18 10:57:09 -07:00
911d3ae459 Debug echo 2022-08-18 10:55:36 -07:00
fde7d60e76 Just check $MATCH, don't eval 2022-08-18 10:54:50 -07:00
731d8226e7 Evalutate $MATCH 2022-08-18 10:53:37 -07:00
2dbf90a5ab Debug return values 2022-08-18 10:52:31 -07:00
79f468ae1a Evaluate command, don't run it 2022-08-18 10:50:47 -07:00
b8971fa34b Try again 2022-08-18 10:49:56 -07:00
a4cdea25ca Wasn't actually referencing the variable 2022-08-18 10:48:10 -07:00
296a157173 With subshell, all commands returned 1. Try without subshell 2022-08-18 10:47:11 -07:00
6b71554d5b Debug echo status of last command 2022-08-18 10:46:27 -07:00
0ac9e9dae3 Grep the variable, not the actual paths 2022-08-18 10:44:53 -07:00
ad53f23a63 Refactor grep'ing 2022-08-18 10:43:59 -07:00
10e9ad34f7 Syntax error 2022-08-18 10:39:30 -07:00
f58ea79846 Add bool check for nas dependence 2022-08-18 10:38:55 -07:00
b7b489da51 Per: https://stackoverflow.com/questions/22101778/how-to-preserve-line-breaks-when-storing-command-output-to-a-variable 2022-08-18 10:36:57 -07:00
15307d8fae Make nas_down.sh executable 2022-08-18 10:35:30 -07:00
d147e5330e Add nas mount grep 2022-08-18 10:34:33 -07:00
9260353383 Init nas_down.sh (not tested) 2022-08-18 10:32:14 -07:00