File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 9
9
# #########UPDATE IF YOU MAKE A NEW RELEASE#############
10
10
major=0
11
11
minor=1
12
- patch=32
12
+ patch=33
13
13
14
14
# Helper
15
15
function valid_ipv4() {
46
46
47
47
# Check if docker / non-docker
48
48
isDocker=0
49
+ isUmbrel=0
49
50
killswitchRaspi=0
50
51
litpossible=0 # Set this to 1 earlier in your script if LIT is possible
51
52
324
325
325
326
sleep 2
326
327
327
- # add resolvconf package to docker systems for DNS resolving
328
- if [ $isDocker -eq 1 ]; then
328
+ # check for resolvconf installation
329
+ if [ $isUmbrel -eq 0 ]; then
329
330
echo " Checking resolvconf installation..."
330
- checkResolv=$( resolvconf 2> /dev/null | grep -c " ^Usage " )
331
+ checkResolv=$( resolvconf --help 2> /dev/null | grep -c " ^Register " )
331
332
if [ $checkResolv -eq 0 ]; then
332
333
echo " Installing resolvconf..."
333
334
if apt-get install -y resolvconf > /dev/null; then
You can’t perform that action at this time.
0 commit comments