Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion host/src/pack/dpkg/etc/rc.civ.post
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ balloon_civ

/opt/lg/bin/LG_B1_Client_clipboard guestClipboard:enable=true &

flock -n -x /var/lock/civ_startapp.lock pause_civ ||
exec {CIV_STARTAPP_LOCK_FD}</var/lock/civ_startapp.lock
Copy link
Copy Markdown
Contributor

@xihua-chen xihua-chen Mar 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sleep 20
touch /var/lock/civ_startapp.lock

added two lines above L68 in customer's releaes

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sleep 20
touch /var/lock/civ_startapp.lock

add two lines above L68 in customer's release

if flock -n -x ${CIV_STARTAPP_LOCK_FD} ; then
pause_civ
fi
exec {CIV_STARTAPP_LOCK_FD}<&-

exit 0