sed -i '/^\s*tinker panic/ d' /target/etc/ntp.conf && \
sed -i '1 i tinker panic 0' /target/etc/ntp.conf && \
mkdir /target/var/lib/ntp && \
echo 0 > /target/var/lib/ntp/ntp.drift && \
chown -R ntp:ntp /target/var/lib/ntp && \
sed -i '/^\s*server/ d' /target/etc/ntp.conf && \
echo "server $server burst iburst" >> /target/etc/ntp.conf && \
in-target sntp -t4 -S $server;\
in-target hwclock --systohc;\

sed -i '/^\s*tinker panic/ d' /target/etc/ntp.conf && \
sed -i '1 i tinker panic 0' /target/etc/ntp.conf && \
mkdir /target/var/lib/ntp && \
echo 0 > /target/var/lib/ntp/ntp.drift && \
in-target chown -R ntp:ntp /var/lib/ntp && \
sed -i '/^\s*server/ d' /target/etc/ntp.conf && \
echo "server $server burst iburst" >> /target/etc/ntp.conf && \
in-target sntp -t4 -S $server;\
in-target hwclock --systohc;\

Change wrong line in ubuntu ntp snippet
Change wrong line in ubuntu ntp snippet

Change-Id: Ia1037f06effdb25465a2717022d47a44689897cb
Closes-Bug: 1406494
