Fix unintended rename of chkconfig

remotes/gitea/gg-tdeadmin-kcron
Slávek Banko 12 years ago
parent 659893fbf9
commit 433591e9e5

@ -4,7 +4,7 @@ Current Code
Main developer: Main developer:
Peter Putzer <putzer@kde.org> Peter Putzer <putzer@kde.org>
leveldb.{h,c} (from chtdeconfig): leveldb.{h,c} (from chkconfig):
Red Hat Software http://www.redhat.com Red Hat Software http://www.redhat.com
Previous Versions Previous Versions

@ -111,7 +111,7 @@ int readServiceInfo(const char* RUNLEVELS, const char * name, struct service * s
while (isspace(*start) && start < end) start++; while (isspace(*start) && start < end) start++;
if (start == end) continue; if (start == end) continue;
if (!strncmp(start, "chtdeconfig:", 10)) { if (!strncmp(start, "chkconfig:", 10)) {
start += 10; start += 10;
while (isspace(*start) && start < end) start++; while (isspace(*start) && start < end) start++;
if (start == end) { if (start == end) {

@ -34,7 +34,7 @@ struct service {
int parseLevels(const char * str, int emptyOk); int parseLevels(const char * str, int emptyOk);
/* returns 0 on success, 1 if the service is not chtdeconfig-able, -1 if an /* returns 0 on success, 1 if the service is not chkconfig-able, -1 if an
I/O error occurs (in which case errno can be checked) */ I/O error occurs (in which case errno can be checked) */
int readServiceInfo(const char* RUNLEVELS, const char* name, struct service * service); int readServiceInfo(const char* RUNLEVELS, const char* name, struct service * service);
int currentRunlevel(void); int currentRunlevel(void);

Loading…
Cancel
Save