]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
Use systemd's sd_notify with option up_sdnotify
[ppp.git] / pppd / pppd.h
index 1a1bf0b99582fa323cb0ee587d79c248642a7896..6e3743fd9c97de74caf9638e717aa60525bebabb 100644 (file)
@@ -295,6 +295,9 @@ extern int  inspeed;        /* Input/Output speed requested */
 extern u_int32_t netmask;      /* IP netmask to set on interface */
 extern bool    lockflag;       /* Create lock file to lock the serial dev */
 extern bool    nodetach;       /* Don't detach from controlling tty */
+#ifdef SYSTEMD
+extern bool    up_sdnotify;    /* Notify systemd once link is up (implies nodetach) */
+#endif
 extern bool    updetach;       /* Detach from controlling tty when link up */
 extern bool    master_detach;  /* Detach when multilink master without link */
 extern char    *initializer;   /* Script to initialize physical link */