Files
haiku-beta6/data/config/boot/UserBootscript
T
Máximo Castañeda 86caaf1c50 UserBootscript: avoid opening nonexistent files
Fixes: #19612
Change-Id: I6fe210e087adbd094cbfb5625d54fbe958f72473
2025-06-11 12:48:09 +02:00

25 lines
884 B
Bash

#!/bin/sh
# DO NOT EDIT!
#=====================================================================
# Start programs and open files in the boot launch folder
for file in "$HOME"/config/settings/boot/launch/*
do
[ -e "$file" ] && /bin/open "$file" &
done
#=====================================================================
# FEEL FREE TO EDIT BELOW
# Add custom commands to execute at every startup here.
# This file is a standard bash script. For more information regarding shell
# scripts, refer to any online documentation for "bash scripting"
# During boot, the commands listed in this script will be executed.
# Typically, you will want to include a trailing '&' on each line.
# This will allow the script to execute that command and process the next line.
# To launch certain applications at boot-up, put links to those applications in
# the above boot launch directory.