]> git.saurik.com Git - apple/launchd.git/blob - xcscripts/launchd-postflight.sh
launchd-442.21.tar.gz
[apple/launchd.git] / xcscripts / launchd-postflight.sh
1 #!/bin/sh
2
3 mkdir -p "$DSTROOT/private/var/db/launchd.db/com.apple.launchd"
4 chown root:wheel "$DSTROOT/private/var/db/launchd.db"
5 chown root:wheel "$DSTROOT/private/var/db/launchd.db/com.apple.launchd"
6
7 mkdir -p "$DSTROOT/private/var/log/com.apple.launchd"
8 chown root:wheel "$DSTROOT/private/var/log/com.apple.launchd"
9
10 # These directories need to be here to satisfy certain third-party dependencies.
11 mkdir -p "$DSTROOT/private/etc/mach_init.d"
12 mkdir -p "$DSTROOT/private/etc/mach_init_per_user.d"
13 mkdir -p "$DSTROOT/private/etc/mach_init_per_login_session.d"
14 chown root:wheel "$DSTROOT/private/etc/mach_init.d"
15 chown root:wheel "$DSTROOT/private/etc/mach_init_per_user.d"
16 chown root:wheel "$DSTROOT/private/etc/mach_init_per_login_session.d"