Projects
Browse Source     Search     Timeline     Wiki

Changeset 23155

Show
Ignore:
Timestamp:
03/19/07 13:51:44 (21 months ago)
Author:
zarzycki@…
Message:

Do the dirhelper stuff right.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchctl.c

    r23152 r23155  
    13641364        remove(_PATH_NOLOGIN); 
    13651365 
    1366         // XXX --> RMRF_ITEMS="/var/tmp/folders.* 
     1366        if (path_check("/usr/libexec/dirhelper")) { 
     1367                const char *dirhelper_tool[] = { "/usr/libexec/dirhelper", "-machineBoot", NULL }; 
     1368                assumes(fwexec(dirhelper_tool, true) != -1); 
     1369        } 
    13671370 
    13681371        // 775 root:daemon /var/run/StartupItems