You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sort of follow-up on #267 - if /etc/rc.local does not exist originally, then it won't get created.
Issue seems to be a misplaced fi:
The block in lines 91/92 (if .../etc/rc.local exists but doesn't have exactly our content...) has its closing fi sit far down, in line 161, after writing the /etc/rc.local and making it executable.
What's suggested by the indentation, and would make sense to me, is moving the fi below line 92. Then we always get /etc/rc.local creation.
Or adding the or doesn't exist check in line 91 - and maybe indenting the whole block ;)
(The question whether just putting an /etc/rc.local in will work is a different one, and depends on whether your image will actually run /etc/rc.local, but that is a different problem that can be solved by modifying the image appropriately before pulling it).
The text was updated successfully, but these errors were encountered:
Sort of follow-up on #267 - if
/etc/rc.local
does not exist originally, then it won't get created.Issue seems to be a misplaced
fi
:The block in lines 91/92 (
if .../etc/rc.local exists but doesn't have exactly our content...
) has its closingfi
sit far down, in line 161, after writing the/etc/rc.local
and making it executable.What's suggested by the indentation, and would make sense to me, is moving the
fi
below line92
. Then we always get/etc/rc.local
creation.Or adding the
or doesn't exist
check in line 91 - and maybe indenting the whole block ;)(The question whether just putting an
/etc/rc.local
in will work is a different one, and depends on whether your image will actually run/etc/rc.local
, but that is a different problem that can be solved by modifying the image appropriately before pulling it).The text was updated successfully, but these errors were encountered: