diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-04-23 17:40:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-24 17:55:15 +0100 |
commit | 870a3169d62e3b72d4baf3923b94b56c3deb71ae (patch) | |
tree | eb13c6c742c0d82bc550979af5e7ca1d756442ab /meta/recipes-connectivity/ppp/ppp | |
parent | b45533c1c05986b01ea59ea7fb35501436117337 (diff) | |
download | ast2050-yocto-poky-870a3169d62e3b72d4baf3923b94b56c3deb71ae.zip ast2050-yocto-poky-870a3169d62e3b72d4baf3923b94b56c3deb71ae.tar.gz |
ppp: add systemd support
Add systemd support for ppp.
The unit file mostly comes from ArchLinux.
(From OE-Core rev: e84f7ea24b08e3127b70731908b819fbdc1cbfd5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp')
-rw-r--r-- | meta/recipes-connectivity/ppp/ppp/ppp@.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp/ppp@.service b/meta/recipes-connectivity/ppp/ppp/ppp@.service new file mode 100644 index 0000000..2bf0b5e --- /dev/null +++ b/meta/recipes-connectivity/ppp/ppp/ppp@.service @@ -0,0 +1,9 @@ +[Unit] +Description=PPP link to %I +Before=network.target + +[Service] +ExecStart=@SBINDIR@/pppd call %I nodetach nolog + +[Install] +WantedBy=multi-user.target |