#!/bin/bash

if [[ "$1" == "-machineBoot" ]]; then
    /bin/mkdir -m 700 -p /var/tmp/launchd
    if [[ -e /var/tmp/launchd/sock ]]; then
        /bin/rm -f /var/rocky-racoon.sock
    else
        /bin/mv -f /var/rocky-racoon.sock /var/tmp/launchd/sock
    fi
fi

exit 0
