mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
pigpio service renamed to pigpiod
This commit is contained in:
parent
fe77479465
commit
3e26c9b3b2
@ -922,11 +922,11 @@ do_gpiosec() {
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
case "$RET" in
|
case "$RET" in
|
||||||
Private)
|
Private)
|
||||||
rm -f /etc/systemd/system/pigpio.service.d/public.conf
|
rm -f /etc/systemd/system/pigpiod.service.d/public.conf
|
||||||
;;
|
;;
|
||||||
Public)
|
Public)
|
||||||
mkdir -p /etc/systemd/system/pigpio.service.d/
|
mkdir -p /etc/systemd/system/pigpiod.service.d/
|
||||||
cat > /etc/systemd/system/pigpio.service.d/public.conf << EOF
|
cat > /etc/systemd/system/pigpiod.service.d/public.conf << EOF
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=
|
ExecStart=
|
||||||
ExecStart=/usr/bin/pigpiod
|
ExecStart=/usr/bin/pigpiod
|
||||||
@ -938,7 +938,7 @@ EOF
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart pigpio
|
systemctl restart pigpiod
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user