~zulcss/ubuntu/lucid/likewise-open/likewise-open-sru

« back to all changes in this revision

Viewing changes to domainjoin/libdomainjoin/src/djmethodcfg.c

  • Committer: Bazaar Package Importer
  • Author(s): Rick Clark
  • Date: 2008-08-27 08:56:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080827085620-5q0f58b9qtog9myq
Tags: 4.1.0.2956-0ubuntu1
* missing-likewise-logo.diff: removed
* fixed copyright notice
* updated Standards-Version to 3.8.0
* removed path from command in prerm
* removed stop in S runlevel

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
{
67
67
    BOOLEAN exists;
68
68
    CENTERROR ceError = CENTERROR_SUCCESS;
 
69
    PCSTR exprRemoveBlankLine = "/^$/ {\nN\n/\\nLWIDENTITY.*/ D\n}";
69
70
 
70
71
    ceError = DJHasMethodsCfg(&exists);
71
72
    BAIL_ON_CENTERIS_ERROR(ceError);
73
74
        goto error;
74
75
 
75
76
    ceError = CTRunSedOnFile(methodsPath, methodsPath, FALSE,
 
77
            exprRemoveBlankLine);
 
78
    BAIL_ON_CENTERIS_ERROR(ceError);
 
79
 
 
80
    ceError = CTRunSedOnFile(methodsPath, methodsPath, FALSE,
 
81
            "/^LWIDENTITY.*/d");
 
82
    BAIL_ON_CENTERIS_ERROR(ceError);
 
83
 
 
84
    ceError = CTRunSedOnFile(methodsPath, methodsPath, FALSE,
76
85
            "/^[ \t]*[^ \t#*].*LWIDENTITY.*/d");
77
86
    BAIL_ON_CENTERIS_ERROR(ceError);
78
87