Skip to content

On macOS with FileVault enabled. #71

@pjbruce

Description

@pjbruce
  1. macOS 26.1.
  2. FileVault enabled.
  3. Add 'start-mydaemon.sh' in '/usr/local/outset/login-window'.
  4. The contents of 'start-mydaemon.sh'
'#!/bin/bash
while ! /sbin/ifconfig en0 | grep -q "status: active"; do sleep 1; done

"/Library/Application Support/MyApp/MyDaemonExecutable" &

echo "$(date): Daemon launched" >> /var/log/mydaemon.log
' 
  1. sudo chown root:wheel /usr/local/outset/login-window/start-mydaemon.sh
    sudo chmod 755 /usr/local/outset/login-window/start-mydaemon.sh
  2. After restarting my Mac, "MyDaemonExecutable" does not run automatically on the login screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions