进行管理(bug1941) new file: operation/finish_install/99create_git_manage.sh new file: operation/finish_install/cfg_create_git.sh Signed-off-by: Wei,Shuai <swei@linx-info.com>
26 lines
820 B
Bash
Executable File
26 lines
820 B
Bash
Executable File
#!/bin/bash
|
|
#===============================================================================
|
|
#
|
|
# FILE: create_git_manage.sh
|
|
#
|
|
# USAGE: ./create_git_manage.sh
|
|
#
|
|
# DESCRIPTION: create git of /etc and /usr/share/config
|
|
#
|
|
# OPTIONS: ---
|
|
# REQUIREMENTS: ---
|
|
# BUGS: ---
|
|
# NOTES: ---
|
|
# AUTHOR: Wei Shuai , swei@linx-info.com
|
|
# COMPANY: linx-info
|
|
# COPYRIGHT: Copyright 2001-2014 Linx Technology Co.,Ltd.
|
|
# CREATED: 2014年08月08日 13时50分49秒 CST
|
|
# REVISION: ---
|
|
#===============================================================================
|
|
|
|
source ./functions
|
|
cp /usr/lib/new_install/operation/finish_install/cfg_create_git.sh $TARGET/
|
|
chmod +x $TARGET/cfg_create_git.sh
|
|
chroot $TARGET /cfg_create_git.sh
|
|
rm $TARGET/cfg_create_git.sh
|