File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010- Fix missing zeroconf installation when executing ` ./install.sh --all ` . Thanks to @Jef239 [ #520 ] ( https://github.com/Stefal/rtkbase/issues/520 )
1111- Fix crash whith empty zeroconf service list and missing WinPcap. Thanks to @Jef239 [ #520 ] ( https://github.com/Stefal/rtkbase/issues/520 )
1212- Fix tcp host addr not read/saved correctly. Thanks to @y3nd
13- - Fix polkit rules to be able to start/stop rtkbase services without sudo privileges.
13+ - Fix polkit path and rules to be able to start/stop rtkbase services without sudo privileges.
1414
1515### Deprecated
1616
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ RTKBASE_USER=$1
77SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
88
99add_polkit_rules () {
10- cp " ${SCRIPT_DIR} " /polkit/* .rules /etc /polkit-1/rules.d/ && \
10+ cp " ${SCRIPT_DIR} " /polkit/* .rules /usr/share /polkit-1/rules.d/ && \
1111 groupadd -f rtkbase && \
1212 usermod -a -G rtkbase " ${RTKBASE_USER} "
1313}
1414
1515# check if polkitd package is available, else exit
1616apt-cache --quiet=0 show polkitd 2>&1 | grep -q ' No packages found' && exit 1
1717# install it if not already installed
18- ! dpkg-query -W --showformat=' ${Status}\n' polkitd > /dev/null 2>&1 && apt-get -y install polkitd
18+ dpkg-query -W --showformat=' ${Status}\n' polkitd > /dev/null 2>&1 && apt-get -y install polkitd
1919add_polkit_rules
You can’t perform that action at this time.
0 commit comments