Skip to content

Commit

Permalink
removed i2c group add from install script
Browse files Browse the repository at this point in the history
  • Loading branch information
trombastic authored and clavay committed May 17, 2023
1 parent 67aded4 commit 0df2ae1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,8 @@ if [[ "$answer_update" == "n" ]]; then
chown pyscada:pyscada ${log_file_dir}pyscada_{daemon,debug}.log

# Add rights for usb, i2c and serial
add_line_if_not_exist 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664", GROUP="pyscada"' /etc/udev/rules.d/10-usb.rules
add_line_if_not_exist 'KERNEL=="ttyS[0-9]", GROUP="dialout", MODE="0777"' /etc/udev/rules.d/10-usb.rules
adduser www-data pyscada
adduser pyscada dialout
adduser pyscada i2c
fi

SERVER_ROOT=$INSTALL_ROOT/PyScadaServer
Expand Down

0 comments on commit 0df2ae1

Please sign in to comment.