Last active
October 19, 2022 00:42
-
-
Save Tiryoh/aba7f6119b89127279c033cb34fd581b to your computer and use it in GitHub Desktop.
systemctl service to show IP address on Mini Pupper LCD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Display IP Address on MiniPupper LCD | |
Requires=NetworkManager-wait-online.service | |
After=NetworkManager-wait-online.service | |
[Service] | |
Type=forking | |
ExecStart=python3 -c "from MangDang.mini_pupper.display import Display ; disp = Display(); disp.show_ip();" | |
[Install] | |
WantedBy=multi-user.target | |
# This service depends on https://github.com/mangdangroboticsclub/mini_pupper_bsp | |
# and cannot use with https://github.com/mangdangroboticsclub/StanfordQuadruped at the same time | |
# SPDX-License-Identifier: MIT | |
# SPDX-FileCopyrightText: 2022 Daisuke Sato |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage