lxcfs-tools/hack/install.sh

24 lines
840 B
Bash
Raw Normal View History

2019-09-30 10:53:48 -04:00
# Copyright (c) Huawei Technologies Co., Ltd. 2019. All rights reserved.
# lxcfs-tools is licensed under the Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
2019-09-30 10:53:48 -04:00
# http://license.coscl.org.cn/MulanPSL
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
# PURPOSE.
# See the Mulan PSL v2 for more details.
2019-09-30 10:53:48 -04:00
# Description: install script
# Author: zhangsong
# Create: 2019-01-18
#!/bin/bash
LXCFS_TOOLS_DIR=/usr/local/bin
2019-09-30 10:53:48 -04:00
echo "lxcfs-tools will be installed to $LXCFS_TOOLS_DIR"
2019-09-30 10:53:48 -04:00
install -m 0755 -p ../build/lxcfs-tools ${LXCFS_TOOLS_DIR}
2019-09-30 10:53:48 -04:00
echo "lxcfs-tools install done"