Skip to content

Commit

Permalink
Update install_opi5.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dellagd authored Apr 1, 2024
1 parent 6275bcd commit 647610b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion install_opi5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,15 @@ sed -i '/^logging_level.*/c\logging_level 7' /etc/linuxptp/ptp4l.conf
sed -i '/^delay_mechanism.*/c\delay_mechanism Auto' /etc/linuxptp/ptp4l.conf
sed -i '/^time_stamping.*/c\time_stamping software' /etc/linuxptp/ptp4l.conf
# Start and enable the service so it always runs
systemctl start [email protected]
systemctl enable [email protected]

# Fix up phc2sys service
sed -i '/^Requires=.*/c\Requires=ptp4l@%I.service' /lib/systemd/system/[email protected]
sed -i '/^After=.*/c\After=ptp4l@%I.service' /lib/systemd/system/[email protected]
sed -i '/^ExecStart=.*/c\ExecStart=/usr/sbin/phc2sys -l 7 -w -s %I -r' /lib/systemd/system/[email protected]
# Start and enable the service so it always runs
systemctl enable [email protected]

cat > /etc/netplan/00-default-nm-renderer.yaml <<EOF
network:
renderer: NetworkManager
Expand Down

0 comments on commit 647610b

Please sign in to comment.