527e098821
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
21 lines
432 B
Bash
21 lines
432 B
Bash
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2016 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
. /etc/patching/patch-functions
|
|
|
|
#
|
|
# Triggering a restart of the patching daemons is done by
|
|
# creating a flag file and letting the daemon handle the restart.
|
|
#
|
|
loginfo "Requesting restart of patch-controller"
|
|
|
|
restart_patch_controller_flag="/run/patching/.restart.patch-controller"
|
|
touch $restart_patch_controller_flag
|
|
|
|
exit 0
|
|
|