1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2009 FUJITSU LIMITED 4# Author: Li Zefan <lizf@cn.fujitsu.com> 5 6trap exit USR1 7 8while true; do 9 mount -t cgroup xxx cgroup/ > /dev/null 2>&1 10 cat cgroup/release_agent > /dev/null 2>&1 11 umount cgroup/ > /dev/null 2>&1 12done 13