mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 22:23:13 +00:00
entry.sh: Use symbolic link to link to legacy lock path
The lack of `-s` was a typo. Change-type: patch Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
This commit is contained in:
parent
f96c35d07b
commit
67486146c4
2
entry.sh
2
entry.sh
@ -12,7 +12,7 @@ rm -f /var/run/avahi-daemon/pid
|
|||||||
# already be using to take an update lock, so we symlink it to the new
|
# already be using to take an update lock, so we symlink it to the new
|
||||||
# location so that the supervisor can see it
|
# location so that the supervisor can see it
|
||||||
[ -d /mnt/root/tmp/resin-supervisor ] &&
|
[ -d /mnt/root/tmp/resin-supervisor ] &&
|
||||||
( [ -d /mnt/root/tmp/balena-supervisor ] || ln ./resin-supervisor /mnt/root/tmp/balena-supervisor )
|
( [ -d /mnt/root/tmp/balena-supervisor ] || ln -s ./resin-supervisor /mnt/root/tmp/balena-supervisor )
|
||||||
|
|
||||||
# Otherwise, if the lockfiles directory doesn't exist
|
# Otherwise, if the lockfiles directory doesn't exist
|
||||||
[ -d /mnt/root/tmp/balena-supervisor ] ||
|
[ -d /mnt/root/tmp/balena-supervisor ] ||
|
||||||
|
Loading…
Reference in New Issue
Block a user