Mini Shell

Direktori : /usr/share/cagefs/scriptlets/
Upload File :
Current File : //usr/share/cagefs/scriptlets/rpm_systemd_trigger.sh

#!/usr/bin/bash
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT

/usr/share/cagefs-plugins/install-cagefs-plugin.py --add-syslog-socket
# We remount all immediately if the previous command indicated that
# it's needed
if [[ -f "/usr/share/cagefs/need.remount" && -d "/usr/share/cagefs-skeleton/bin" ]]; then
    cagefsctl --remount-all
fi

exit 0

Zerion Mini Shell 1.0