atd

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/atd
Log | Files | Refs

commit eb46939a3ac3d590d082bc0f86eba8321d9c970a
parent 77faae9f9ee608a006d51389e3fe77e94e82375d
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Sun,  8 Aug 2021 20:21:39 -0500

atd: configure modem on startup

Diffstat:
Matd.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/atd.c b/atd.c @@ -571,6 +571,11 @@ int main(int argc, char *argv[]) warn("failed to connect to tty:"); goto error; } + + if (!setup_modem_tty(backsock)) { + warn("failed to configure tty:"); + goto error; + } #endif int sock = socket(AF_UNIX, SOCK_STREAM, 0);