21 lines
447 B
Bash
21 lines
447 B
Bash
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2023 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
. /etc/software/software-functions
|
|
|
|
#
|
|
# Triggering a restart of the software daemons is done by
|
|
# creating a flag file and letting the daemon handle the restart.
|
|
#
|
|
loginfo "Requesting restart of software-controller"
|
|
|
|
restart_software_controller_flag="/run/software/.restart.software-controller"
|
|
touch $restart_software_controller_flag
|
|
|
|
exit 0
|
|
|