projects
/
framework
/
api
/
system-info.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initialize Tizen 2.3
[framework/api/system-info.git]
/
script
/
make_info_file.sh
1
#! /bin/bash
2
# make_info_file.sh : make /etc/info.ini
3
#
4
5
if [ $# != 2 ]; then
6
echo "Usage : make_info_file.sh [model] [build] "
7
exit
8
fi
9
10
MODEL=$1
11
BUILD=$2
12
13
cat >/etc/info.ini <<EOF
14
[Version]
15
Model=$MODEL;
16
Build=$BUILD;
17
[Build]
18
Date=`date +%Y.%m.%d`;
19
Time=`date +%H:%M:%S`;
20
EOF