Files
sxmo-utils/configs/default_hooks/sxmo_hook_power.sh
Willow Barraco b175f17acd Add placeholder hooks to simplify user migrations
Without those, every sxmo_migrate.sh ask the user if they want to remove
those. Adding a placeholder make it easy to differenciate known hooks,
and hooks that has been removed.

This also cleanup, merge or fix some existing hooks.
2023-10-10 17:58:13 +02:00

9 lines
229 B
Bash

#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
# This script is executed before reboot and poweroff the system
#
# The following parameters are provided:
# $1 = Action (poweroff or reboot)