Commit Graph

27 Commits

Author SHA1 Message Date
2a8063bc2a Remove debug echoes 2022-08-19 10:24:33 -07:00
75db2268d4 Init nas_down.sh 2022-08-19 10:17:09 -07:00
9811fd6f2f idk man 2022-08-18 11:04:14 -07:00
8d393ccb33 Add parentheses, remove newline 2022-08-18 11:01:48 -07:00
a33c5538e4 Add newline 2022-08-18 11:01:22 -07:00
ee899035d4 Add quotes 2022-08-18 11:01:05 -07:00
c90cf8f668 Add list build logic 2022-08-18 11:00:41 -07:00
8938a19c1d Closer 2022-08-18 10:58:35 -07:00
65270cea45 Toward silence, one step at a time 2022-08-18 10:57:49 -07:00
8af4e2b45a If $MATCH == 0 2022-08-18 10:57:09 -07:00
3f169b98fe Debug echo 2022-08-18 10:55:36 -07:00
fb62308171 Just check $MATCH, don't eval 2022-08-18 10:54:50 -07:00
30eafd57ac Evalutate $MATCH 2022-08-18 10:53:37 -07:00
fbec8e7cde Debug return values 2022-08-18 10:52:31 -07:00
a51de38997 Evaluate command, don't run it 2022-08-18 10:50:47 -07:00
3e6194821a Try again 2022-08-18 10:49:56 -07:00
d73103213b Wasn't actually referencing the variable 2022-08-18 10:48:10 -07:00
d2c3010150 With subshell, all commands returned 1. Try without subshell 2022-08-18 10:47:11 -07:00
d36d86ee89 Debug echo status of last command 2022-08-18 10:46:27 -07:00
511a12333f Grep the variable, not the actual paths 2022-08-18 10:44:53 -07:00
8c4e5d733e Refactor grep'ing 2022-08-18 10:43:59 -07:00
c0f99419c8 Syntax error 2022-08-18 10:39:30 -07:00
1807f08855 Add bool check for nas dependence 2022-08-18 10:38:55 -07:00
95549891d5 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
8676a34dba Make nas_down.sh executable 2022-08-18 10:35:30 -07:00
1f16f5b967 Add nas mount grep 2022-08-18 10:34:33 -07:00
a920e2d00a Init nas_down.sh (not tested) 2022-08-18 10:32:14 -07:00