summaryrefslogtreecommitdiffstats
path: root/deploy/mac_generator.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/mac_generator.sh')
-rwxr-xr-xdeploy/mac_generator.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy/mac_generator.sh b/deploy/mac_generator.sh
index 8dee3753..ed5dacd3 100755
--- a/deploy/mac_generator.sh
+++ b/deploy/mac_generator.sh
@@ -1,4 +1,12 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
function mac_address_part() {
hex_number=$(printf '%02x' $RANDOM)
number_length=${#hex_number}