Searched refs:logoutfile (Results 1 – 1 of 1) sorted by relevance
/dragonfly/usr.sbin/sliplogin/ |
H A D | sliplogin.c | 291 char logoutfile[MAXPATHLEN]; in hup_handler() local 295 snprintf(logoutfile, sizeof(logoutfile), "%s.%.990s", _PATH_SLOGOUT, loginname); in hup_handler() 296 if (access(logoutfile, R_OK|X_OK) != 0) { in hup_handler() 297 strncpy(logoutfile, _PATH_SLOGOUT, sizeof(logoutfile)-1); in hup_handler() 298 logoutfile[sizeof(logoutfile)-1] = '\0'; in hup_handler() 300 if (access(logoutfile, R_OK|X_OK) == 0) { in hup_handler() 303 snprintf(logincmd, sizeof(logincmd), "%s %d %u %s", logoutfile, unit, speed, loginargs); in hup_handler()
|