summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ppp/ppp
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-04-23 17:40:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-24 17:54:57 +0100
commite84f7ea24b08e3127b70731908b819fbdc1cbfd5 (patch)
treec7d3e6f3c92be3c9e0ad8e194d6b266f09801485 /meta/recipes-connectivity/ppp/ppp
parent812f69fee5fceef853c42960f3d90491bda8378a (diff)
downloadopenembedded-core-e84f7ea24b08e3127b70731908b819fbdc1cbfd5.tar.gz
ppp: add systemd support
Add systemd support for ppp. The unit file mostly comes from ArchLinux. 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@.service9
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 0000000000..2bf0b5e347
--- /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