aboutsummaryrefslogtreecommitdiffstats
path: root/src/ppp-watch.c
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-01-17 17:12:21 +0000
committerBill Nottingham <notting@redhat.com>2007-01-17 17:12:21 +0000
commit9e44336c2392120b862be8563192792979ca6a39 (patch)
tree0d49d5bb66a6cfd798eebdfe1d1c0b51bf72113b /src/ppp-watch.c
parentcbf1a8286364373ecca5987da99f04405b935bec (diff)
downloadinitscripts-9e44336c2392120b862be8563192792979ca6a39.tar
initscripts-9e44336c2392120b862be8563192792979ca6a39.tar.gz
initscripts-9e44336c2392120b862be8563192792979ca6a39.tar.bz2
initscripts-9e44336c2392120b862be8563192792979ca6a39.tar.xz
initscripts-9e44336c2392120b862be8563192792979ca6a39.zip
reset alarm on connection so that ppp-watch remains running when
ONBOOT=yes (#216749)
Diffstat (limited to 'src/ppp-watch.c')
-rw-r--r--src/ppp-watch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ppp-watch.c b/src/ppp-watch.c
index 8762c778..cb19c58f 100644
--- a/src/ppp-watch.c
+++ b/src/ppp-watch.c
@@ -664,6 +664,7 @@ main(int argc, char **argv) {
* we have one. Any errors after this we just swallow. */
relay_exitcode(0);
connectedOnce = TRUE;
+ alarm(0);
}
free(physicalDevice);
}