
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.
9 lines
229 B
Bash
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)
|