remove mkbst file

This commit is contained in:
hummypkg 2011-06-06 13:01:17 +00:00 committed by HummyPkg
parent 604c927a40
commit 606a8d9922
1 changed files with 0 additions and 17 deletions

17
mkbst
View File

@ -1,17 +0,0 @@
#!/bin/sh
# Generate British Summer Time switchover table
year=2011
echo "struct bsttab bst[] = {"
while [ $year -lt 2020 ]; do
dststart=`cal 3 $year | grep '[0-9]' | tail -1 | awk '{print $1}'`
dstend=`cal 10 $year | grep '[0-9]' | tail -1 | awk '{print $1}'`
echo " { `date -d ${year}03${dststart}0100 +%s`, 1 },"
echo " { `date -d ${year}10${dstend}0100 +%s`, 0 },"
year=`expr $year + 1`
done
echo " { 0, 0 },"
echo "};"