projects
/
wyse_ntpd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
138c5019e6d86f44dfe0af03844a81e33aaadf33
[wyse_ntpd.git]
/
src
/
buildroot-2013.05
/
custom
/
filesystem
/
etc
/
init.d
/
S99final_sequence
1
#!/bin/sh
2
3
if [ -f /fs/config/system ]
4
then
5
. /fs/config/system
6
else
7
mkdir -p /fs/config/
8
fi
9
10
if [ ! -f /fs/config/dropbear.tar ]
11
then
12
RD=`pwd`
13
cd /
14
tar cf /fs/config/dropbear.tar /etc/dropbear
15
cd $RD
16
fi
17
18
if [ -f /fs/config/ntp.conf ]
19
then
20
setserial /dev/ttyS0 low_latency
21
ntpd -c /fs/config/ntp.conf -x -g
22
fi