diff --git a/reform2-imx8mq/template-skel/bin/connman-gtk.sh b/reform2-imx8mq/template-skel/bin/connman-gtk.sh index f806e5a38c68b487b7dfec773d1034b565245d47..65029982af9cc34ddd71aaf8ea958baca55eefcf 100755 --- a/reform2-imx8mq/template-skel/bin/connman-gtk.sh +++ b/reform2-imx8mq/template-skel/bin/connman-gtk.sh @@ -1,8 +1,5 @@ #!/bin/bash -pgrep -x connman-gtk -if [ $? == 1 ] -then - connman-gtk -fi +pkill 'connman-gtk$' +connman-gtk diff --git a/reform2-imx8mq/template-skel/bin/pavucontrol.sh b/reform2-imx8mq/template-skel/bin/pavucontrol.sh index 3f6f6fc5e9efff78df5f1de1e25d377868003d69..18cf5dca3fc52fc85ac68cfa854c4b135535be0f 100755 --- a/reform2-imx8mq/template-skel/bin/pavucontrol.sh +++ b/reform2-imx8mq/template-skel/bin/pavucontrol.sh @@ -1,5 +1,5 @@ #!/bin/bash -#pkill pavucontrol +pkill 'pavucontrol$' pavucontrol