From: chas w. <ch...@us...> - 2007-08-27 14:22:07
|
Update of /cvsroot/linux-atm/linux-atm/src/br2684 In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv11979 Modified Files: Tag: V2_5_0 br2684ctl.8 br2684ctl.c Log Message: In annex goes a patch that changes the pid file location from /var/run/nas%d.pid to /var/run/br2684ctl-nas%d.pid. I believe this is a more descriptive name. The patch also adds its documentation to the man page. From: "Renato Caldas" <sev...@gm...> Index: br2684ctl.8 =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/br2684/Attic/br2684ctl.8,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** br2684ctl.8 25 Aug 2007 16:56:40 -0000 1.1.2.2 --- br2684ctl.8 27 Aug 2007 14:22:02 -0000 1.1.2.3 *************** *** 71,74 **** --- 71,76 ---- Messages are logged to the LOCAL0 syslog facility. + .SH FILES + /var/run/br2684ctl-<iface>.pid .SH NOTES This man page is based on a tutorial by by Joonbum Byun <jb...@me...> Index: br2684ctl.c =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/br2684/Attic/br2684ctl.c,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -C2 -d -r1.1.2.7 -r1.1.2.8 *** br2684ctl.c 25 Aug 2007 16:57:43 -0000 1.1.2.7 --- br2684ctl.c 27 Aug 2007 14:22:02 -0000 1.1.2.8 *************** *** 59,63 **** if (num < 0) return -1; ! snprintf(name, 20, "/var/run/nas%d.pid", num); pidfile = fopen(name, "w"); if (pidfile == NULL) return -1; --- 59,63 ---- if (num < 0) return -1; ! snprintf(name, 20, "/var/run/br2684ctl-nas%d.pid", num); pidfile = fopen(name, "w"); if (pidfile == NULL) return -1; |