Skip to content

Commit

Permalink
Fixed small problem in preinst script.
Browse files Browse the repository at this point in the history
Cleaned up pigpiod config.
  • Loading branch information
marvin5300 committed Nov 12, 2024
1 parent 1a11344 commit e2f015e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion daemon/config/pigpiod.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[Service]
ExecStart=
ExecStart=/usr/bin/pigpiod -s 1
2 changes: 1 addition & 1 deletion daemon/config/preinst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e

mkdir -p /var/muondetector
useradd muonuser -g users -G dialout,pi,i2c,users -s /usr/sbin/nologin -r -N -M -b /var/muondetector || echo "User already exists"
useradd muonuser -g users -G dialout,i2c,users -s /usr/sbin/nologin -r -N -M -b /var/muondetector || echo "User already exists"
chown muonuser:users /var/muondetector
chmod g+w /var/muondetector

0 comments on commit e2f015e

Please # to comment.