Skip to content
Snippets Groups Projects
Commit d858d56a authored by Wu Zhangjin's avatar Wu Zhangjin
Browse files

cleanup more copyright info


Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
parent 17adb3da
No related branches found
No related tags found
No related merge requests found
Showing
with 81 additions and 1 deletion
Cloud Lab is Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
The Cloud Lab files are licensed under GPL v2 for non-commercial users.
The Cloud Lab files are licensed under GPL v2 for the non-commercial users,
the commercial users must get license from Wu Zhangjin <lzufalcon@163.com>.
---
......
......@@ -2,6 +2,8 @@
#
# startup.sh -- lab specific startup script,
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
TOP_DIR=$(cd $(dirname $0) && pwd)/
......
#!/bin/bash
#
# enable_net_bridge.sh
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
ip=`ifconfig eth0 | grep "inet addr" | cut -d':' -f2 | cut -d' ' -f1`
route=`route -n | head -3 | tail -1 | tr -s ' ' | cut -d' ' -f2`
......
......@@ -2,6 +2,8 @@
#
# Restart net servers
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
service tftpd-hpa restart
sleep 1
......
......@@ -2,6 +2,8 @@
#
# batch -- create multiple containers in one script
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
# usage:
#
# E.x.:
......
#!/bin/sh
#
# clean
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
read -p 'This command is dangerous, are you sure? (yes/no) ' sure
......
#!/bin/sh
#
# clean-all
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
export RELEASE=0
......
#
# init
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
# For Lab initialization
# Enhance security: protect private data
......
#!/bin/sh
#
# list
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
#!/bin/sh
#
# release
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
#!/bin/sh
#
# release-all
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
#!/bin/sh
#
# rm
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
......@@ -2,6 +2,8 @@
#
# run -- deploy a docker lab
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
lab_name=$1
lab_user=$2
......
#!/bin/sh
#
# run2-all
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
#!/bin/sh
#
# start
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
#!/bin/sh
#
# start-all
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
#!/bin/sh
#
# stop
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
#!/bin/sh
#
# stop-all
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
......@@ -2,6 +2,8 @@
#
# update -- update configs, tools for already depoloyed labs
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
......@@ -2,6 +2,8 @@
#
# autodeploy -- deploy some labs automatically
#
# Copyright (C) 2016-2020 Wu Zhangjin <lzufalcon@163.com>
#
uname | grep -q MINGW && PWD_OPT="-W"
TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd $PWD_OPT)"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment