Date:2011-11-05 02:15:34 (8 years 11 months ago)
Author:Warren Pattison
Commit:ac84168269f754c560d231d13ba0849862628fe7
Message:ben-time-set.sh finally close to done.. needs real world Added Tweaks dir - modified /etc/profile - New /etc/banner with ben name and Qi logo

Files: ben-time-set/Change-Log.txt (1 diff)
ben-time-set/ben-time-set.sh (2 diffs)
ben-time-set/timezones (1 diff)
tweaks/README.txt (1 diff)
tweaks/etc/banner (1 diff)
tweaks/etc/profile (1 diff)

Change Details

ben-time-set/Change-Log.txt
11ChangeLog for ben-time-set
22
317/09/11 Re-formatted the timezones file for easier pasring
4         Sused put how to generate dialog menus on the fly
5         Broke the menu down by Region so the list isn't too long
6         Fought wisth ash/bash/sh for half a day
7         Almost ready to commit the timezone part
38
4906/09/11 Added line to fix console fonts to ensure the calendar widget fits
510
ben-time-set/ben-time-set.sh
1#!/bin/sh
1#!/bin/bash
22#
33# Script to facilitate setting the
44# date and time on the Ben NanoNote
...... 
4646
4747# Set Timezone first as that requires a reboot
4848
49TZ=`date +%Z`
49TZ=`cat /etc/TZ`
5050
5151# Is timezone right?
5252
5353dialog --backtitle "$BACKTITLE" --yesno "Timezone is: "$TZ" \nIs this correct?" 0 0
54
5455if [ "$?" != "0" ]; then
55   ## No? Fetch, Then set it and reboot
56   ## dialog
57   ## Set the Timezone
58   ## uci set system.@system[0].timezone=$TIMEZONE
59   ## uci commit system
60
61   ## Tell the User we need to reboot
62   ## dialog --backtitle "$BACKTITLE" --
63   exit 1
56    dialog --backtitle "$BACKTITLE" --menu "Select your Region:" 0 0 8 Africa "" America "" Antarctica "" Arctic "" Asia "" Atlantic "" Australia "" Europe "" Indian "" Pacific "" 2>/tmp/result
57    ZONES=( $(grep -i $(</tmp/result) timezones | cut -f2- -d/) )
58    dialog --backtitle "$BACKTITLE" --menu "Select the nearest City:" 0 0 8 `for ITEM in $(seq 0 $((${#ZONES[@]} - 1))); do echo ${ZONES[$ITEM]#*|} ${ZONES[$ITEM]%|*}; done` 2>/tmp/result
59    TIMEZONE=$(</tmp/result)
60    #echo $TIMEZONE
61    #exit 1
62    #Commit Timezone string to firmware
63    uci set system.@system[0].timezone="$TIMEZONE"
64    uci commit system
65    #Clean-up
66    rm /tmp/result
67    #ASK to reboot... (Pet peeve.. never reboot by default)
68    dialog --backtitle "$BACKTITLE" --yesno "Timezone has been set\nSystem will now restart so Linux can adjust.\n\n Reboot?" 0 0
69    if [ "$?" == 0 ]; then
70        reboot
71        exit 0
72    else
73        exit 0
74    fi
6475fi
6576
77
6678# Get the Date
6779
6880dialog --backtitle "$BACKTITLE" --calendar "Set the date" 0 0 2>/tmp/time
ben-time-set/timezones
1Africa/Abidjan GMT0
2Africa/Accra GMT0
3Africa/Addis Ababa EAT-3
4Africa/Algiers CET-1
5Africa/Asmara EAT-3
6Africa/Bamako GMT0
7Africa/Bangui WAT-1
8Africa/Banjul GMT0
9Africa/Bissau GMT0
10Africa/Blantyre CAT-2
11Africa/Brazzaville WAT-1
12Africa/Bujumbura CAT-2
13Africa/Casablanca WET0
14Africa/Ceuta CET-1CEST,M3.5.0,M10.5.0/3
15Africa/Conakry GMT0
16Africa/Dakar GMT0
17Africa/Dar es Salaam EAT-3
18Africa/Djibouti EAT-3
19Africa/Douala WAT-1
20Africa/El Aaiun WET0
21Africa/Freetown GMT0
22Africa/Gaborone CAT-2
23Africa/Harare CAT-2
24Africa/Johannesburg SAST-2
25Africa/Kampala EAT-3
26Africa/Khartoum EAT-3
27Africa/Kigali CAT-2
28Africa/Kinshasa WAT-1
29Africa/Lagos WAT-1
30Africa/Libreville WAT-1
31Africa/Lome GMT0
32Africa/Luanda WAT-1
33Africa/Lubumbashi CAT-2
34Africa/Lusaka CAT-2
35Africa/Malabo WAT-1
36Africa/Maputo CAT-2
37Africa/Maseru SAST-2
38Africa/Mbabane SAST-2
39Africa/Mogadishu EAT-3
40Africa/Monrovia GMT0
41Africa/Nairobi EAT-3
42Africa/Ndjamena WAT-1
43Africa/Niamey WAT-1
44Africa/Nouakchott GMT0
45Africa/Ouagadougou GMT0
46Africa/Porto-Novo WAT-1
47Africa/Sao Tome GMT0
48Africa/Tripoli EET-2
49Africa/Tunis CET-1
50Africa/Windhoek WAT-1WAST,M9.1.0,M4.1.0
51America/Adak HAST10HADT,M3.2.0,M11.1.0
52America/Anchorage AKST9AKDT,M3.2.0,M11.1.0
53America/Anguilla AST4
54America/Antigua AST4
55America/Araguaina BRT3
56America/Argentina/Buenos Aires ART3
57America/Argentina/Catamarca ART3
58America/Argentina/Cordoba ART3
59America/Argentina/Jujuy ART3
60America/Argentina/La Rioja ART3
61America/Argentina/Mendoza ART3
62America/Argentina/Rio Gallegos ART3
63America/Argentina/Salta ART3
64America/Argentina/San Juan ART3
65America/Argentina/Tucuman ART3
66America/Argentina/Ushuaia ART3
67America/Aruba AST4
68America/Asuncion PYT4PYST,M10.1.0/0,M4.2.0/0
69America/Atikokan EST5
70America/Bahia BRT3
71America/Barbados AST4
72America/Belem BRT3
73America/Belize CST6
74America/Blanc-Sablon AST4
75America/Boa Vista AMT4
76America/Bogota COT5
77America/Boise MST7MDT,M3.2.0,M11.1.0
78America/Cambridge Bay MST7MDT,M3.2.0,M11.1.0
79America/Campo Grande AMT4AMST,M10.3.0/0,M2.3.0/0
80America/Cancun CST6CDT,M4.1.0,M10.5.0
81America/Caracas VET4:30
82America/Cayenne GFT3
83America/Cayman EST5
84America/Chicago CST6CDT,M3.2.0,M11.1.0
85America/Chihuahua MST7MDT,M4.1.0,M10.5.0
86America/Costa Rica CST6
87America/Cuiaba AMT4AMST,M10.3.0/0,M2.3.0/0
88America/Curacao AST4
89America/Danmarkshavn GMT0
90America/Dawson PST8PDT,M3.2.0,M11.1.0
91America/Dawson Creek MST7
92America/Denver MST7MDT,M3.2.0,M11.1.0
93America/Detroit EST5EDT,M3.2.0,M11.1.0
94America/Dominica AST4
95America/Edmonton MST7MDT,M3.2.0,M11.1.0
96America/Eirunepe AMT4
97America/El Salvador CST6
98America/Fortaleza BRT3
99America/Glace Bay AST4ADT,M3.2.0,M11.1.0
100America/Goose Bay AST4ADT,M3.2.0/0:01,M11.1.0/0:01
101America/Grand Turk EST5EDT,M3.2.0,M11.1.0
102America/Grenada AST4
103America/Guadeloupe AST4
104America/Guatemala CST6
105America/Guayaquil ECT5
106America/Guyana GYT4
107America/Halifax AST4ADT,M3.2.0,M11.1.0
108America/Havana CST5CDT,M3.2.0/0,M10.5.0/1
109America/Hermosillo MST7
110America/Indiana/Indianapolis EST5EDT,M3.2.0,M11.1.0
111America/Indiana/Knox CST6CDT,M3.2.0,M11.1.0
112America/Indiana/Marengo EST5EDT,M3.2.0,M11.1.0
113America/Indiana/Petersburg EST5EDT,M3.2.0,M11.1.0
114America/Indiana/Tell City CST6CDT,M3.2.0,M11.1.0
115America/Indiana/Vevay EST5EDT,M3.2.0,M11.1.0
116America/Indiana/Vincennes EST5EDT,M3.2.0,M11.1.0
117America/Indiana/Winamac EST5EDT,M3.2.0,M11.1.0
118America/Inuvik MST7MDT,M3.2.0,M11.1.0
119America/Iqaluit EST5EDT,M3.2.0,M11.1.0
120America/Jamaica EST5
121America/Juneau AKST9AKDT,M3.2.0,M11.1.0
122America/Kentucky/Louisville EST5EDT,M3.2.0,M11.1.0
123America/Kentucky/Monticello EST5EDT,M3.2.0,M11.1.0
124America/La Paz BOT4
125America/Lima PET5
126America/Los Angeles PST8PDT,M3.2.0,M11.1.0
127America/Maceio BRT3
128America/Managua CST6
129America/Manaus AMT4
130America/Marigot AST4
131America/Martinique AST4
132America/Matamoros CST6CDT,M3.2.0,M11.1.0
133America/Mazatlan MST7MDT,M4.1.0,M10.5.0
134America/Menominee CST6CDT,M3.2.0,M11.1.0
135America/Merida CST6CDT,M4.1.0,M10.5.0
136America/Mexico City CST6CDT,M4.1.0,M10.5.0
137America/Miquelon PMST3PMDT,M3.2.0,M11.1.0
138America/Moncton AST4ADT,M3.2.0,M11.1.0
139America/Monterrey CST6CDT,M4.1.0,M10.5.0
140America/Montevideo UYT3UYST,M10.1.0,M3.2.0
141America/Montreal EST5EDT,M3.2.0,M11.1.0
142America/Montserrat AST4
143America/Nassau EST5EDT,M3.2.0,M11.1.0
144America/New York EST5EDT,M3.2.0,M11.1.0
145America/Nipigon EST5EDT,M3.2.0,M11.1.0
146America/Nome AKST9AKDT,M3.2.0,M11.1.0
147America/Noronha FNT2
148America/North Dakota/Center CST6CDT,M3.2.0,M11.1.0
149America/North Dakota/New Salem CST6CDT,M3.2.0,M11.1.0
150America/Ojinaga MST7MDT,M3.2.0,M11.1.0
151America/Panama EST5
152America/Pangnirtung EST5EDT,M3.2.0,M11.1.0
153America/Paramaribo SRT3
154America/Phoenix MST7
155America/Port of Spain AST4
156America/Port-au-Prince EST5
157America/Porto Velho AMT4
158America/Puerto Rico AST4
159America/Rainy River CST6CDT,M3.2.0,M11.1.0
160America/Rankin Inlet CST6CDT,M3.2.0,M11.1.0
161America/Recife BRT3
162America/Regina CST6
163America/Rio Branco AMT4
164America/Santa Isabel PST8PDT,M4.1.0,M10.5.0
165America/Santarem BRT3
166America/Santo Domingo AST4
167America/Sao Paulo BRT3BRST,M10.3.0/0,M2.3.0/0
168America/Scoresbysund EGT1EGST,M3.5.0/0,M10.5.0/1
169America/Shiprock MST7MDT,M3.2.0,M11.1.0
170America/St Barthelemy AST4
171America/St Johns NST3:30NDT,M3.2.0/0:01,M11.1.0/0:01
172America/St Kitts AST4
173America/St Lucia AST4
174America/St Thomas AST4
175America/St Vincent AST4
176America/Swift Current CST6
177America/Tegucigalpa CST6
178America/Thule AST4ADT,M3.2.0,M11.1.0
179America/Thunder Bay EST5EDT,M3.2.0,M11.1.0
180America/Tijuana PST8PDT,M3.2.0,M11.1.0
181America/Toronto EST5EDT,M3.2.0,M11.1.0
182America/Tortola AST4
183America/Vancouver PST8PDT,M3.2.0,M11.1.0
184America/Whitehorse PST8PDT,M3.2.0,M11.1.0
185America/Winnipeg CST6CDT,M3.2.0,M11.1.0
186America/Yakutat AKST9AKDT,M3.2.0,M11.1.0
187America/Yellowknife MST7MDT,M3.2.0,M11.1.0
188Antarctica/Casey WST-8
189Antarctica/Davis DAVT-7
190Antarctica/DumontDUrville DDUT-10
191Antarctica/Macquarie MIST-11
192Antarctica/Mawson MAWT-5
193Antarctica/McMurdo NZST-12NZDT,M9.5.0,M4.1.0/3
194Antarctica/Rothera ROTT3
195Antarctica/South Pole NZST-12NZDT,M9.5.0,M4.1.0/3
196Antarctica/Syowa SYOT-3
197Antarctica/Vostok VOST-6
198Arctic/Longyearbyen CET-1CEST,M3.5.0,M10.5.0/3
199Asia/Aden AST-3
200Asia/Almaty ALMT-6
201Asia/Anadyr ANAT-11ANAST,M3.5.0,M10.5.0/3
202Asia/Aqtau AQTT-5
203Asia/Aqtobe AQTT-5
204Asia/Ashgabat TMT-5
205Asia/Baghdad AST-3
206Asia/Bahrain AST-3
207Asia/Baku AZT-4AZST,M3.5.0/4,M10.5.0/5
208Asia/Bangkok ICT-7
209Asia/Beirut EET-2EEST,M3.5.0/0,M10.5.0/0
210Asia/Bishkek KGT-6
211Asia/Brunei BNT-8
212Asia/Choibalsan CHOT-8
213Asia/Chongqing CST-8
214Asia/Colombo IST-5:30
215Asia/Damascus EET-2EEST,M4.1.5/0,M10.5.5/0
216Asia/Dhaka BDT-6
217Asia/Dili TLT-9
218Asia/Dubai GST-4
219Asia/Dushanbe TJT-5
220Asia/Gaza EET-2EEST,M3.5.6/0:01,M9.1.5
221Asia/Harbin CST-8
222Asia/Ho Chi Minh ICT-7
223Asia/Hong Kong HKT-8
224Asia/Hovd HOVT-7
225Asia/Irkutsk IRKT-8IRKST,M3.5.0,M10.5.0/3
226Asia/Jakarta WIT-7
227Asia/Jayapura EIT-9
228Asia/Kabul AFT-4:30
229Asia/Kamchatka PETT-11PETST,M3.5.0,M10.5.0/3
230Asia/Karachi PKT-5
231Asia/Kashgar CST-8
232Asia/Kathmandu NPT-5:45
233Asia/Kolkata IST-5:30
234Asia/Krasnoyarsk KRAT-7KRAST,M3.5.0,M10.5.0/3
235Asia/Kuala Lumpur MYT-8
236Asia/Kuching MYT-8
237Asia/Kuwait AST-3
238Asia/Macau CST-8
239Asia/Magadan MAGT-11MAGST,M3.5.0,M10.5.0/3
240Asia/Makassar CIT-8
241Asia/Manila PHT-8
242Asia/Muscat GST-4
243Asia/Nicosia EET-2EEST,M3.5.0/3,M10.5.0/4
244Asia/Novokuznetsk NOVT-6NOVST,M3.5.0,M10.5.0/3
245Asia/Novosibirsk NOVT-6NOVST,M3.5.0,M10.5.0/3
246Asia/Omsk OMST-6OMSST,M3.5.0,M10.5.0/3
247Asia/Oral ORAT-5
248Asia/Phnom Penh ICT-7
249Asia/Pontianak WIT-7
250Asia/Pyongyang KST-9
251Asia/Qatar AST-3
252Asia/Qyzylorda QYZT-6
253Asia/Rangoon MMT-6:30
254Asia/Riyadh AST-3
255Asia/Sakhalin SAKT-10SAKST,M3.5.0,M10.5.0/3
256Asia/Samarkand UZT-5
257Asia/Seoul KST-9
258Asia/Shanghai CST-8
259Asia/Singapore SGT-8
260Asia/Taipei CST-8
261Asia/Tashkent UZT-5
262Asia/Tbilisi GET-4
263Asia/Thimphu BTT-6
264Asia/Tokyo JST-9
265Asia/Ulaanbaatar ULAT-8
266Asia/Urumqi CST-8
267Asia/Vientiane ICT-7
268Asia/Vladivostok VLAT-10VLAST,M3.5.0,M10.5.0/3
269Asia/Yakutsk YAKT-9YAKST,M3.5.0,M10.5.0/3
270Asia/Yekaterinburg YEKT-5YEKST,M3.5.0,M10.5.0/3
271Asia/Yerevan AMT-4AMST,M3.5.0,M10.5.0/3
272Atlantic/Azores AZOT1AZOST,M3.5.0/0,M10.5.0/1
273Atlantic/Bermuda AST4ADT,M3.2.0,M11.1.0
274Atlantic/Canary WET0WEST,M3.5.0/1,M10.5.0
275Atlantic/Cape Verde CVT1
276Atlantic/Faroe WET0WEST,M3.5.0/1,M10.5.0
277Atlantic/Madeira WET0WEST,M3.5.0/1,M10.5.0
278Atlantic/Reykjavik GMT0
279Atlantic/South Georgia GST2
280Atlantic/St Helena GMT0
281Atlantic/Stanley FKT4FKST,M9.1.0,M4.3.0
282Australia/Adelaide CST-9:30CST,M10.1.0,M4.1.0/3
283Australia/Brisbane EST-10
284Australia/Broken Hill CST-9:30CST,M10.1.0,M4.1.0/3
285Australia/Currie EST-10EST,M10.1.0,M4.1.0/3
286Australia/Darwin CST-9:30
287Australia/Eucla CWST-8:45
288Australia/Hobart EST-10EST,M10.1.0,M4.1.0/3
289Australia/Lindeman EST-10
290Australia/Lord Howe LHST-10:30LHST-11,M10.1.0,M4.1.0
291Australia/Melbourne EST-10EST,M10.1.0,M4.1.0/3
292Australia/Perth WST-8
293Australia/Sydney EST-10EST,M10.1.0,M4.1.0/3
294Europe/Amsterdam CET-1CEST,M3.5.0,M10.5.0/3
295Europe/Andorra CET-1CEST,M3.5.0,M10.5.0/3
296Europe/Athens EET-2EEST,M3.5.0/3,M10.5.0/4
297Europe/Belgrade CET-1CEST,M3.5.0,M10.5.0/3
298Europe/Berlin CET-1CEST,M3.5.0,M10.5.0/3
299Europe/Bratislava CET-1CEST,M3.5.0,M10.5.0/3
300Europe/Brussels CET-1CEST,M3.5.0,M10.5.0/3
301Europe/Bucharest EET-2EEST,M3.5.0/3,M10.5.0/4
302Europe/Budapest CET-1CEST,M3.5.0,M10.5.0/3
303Europe/Chisinau EET-2EEST,M3.5.0/3,M10.5.0/4
304Europe/Copenhagen CET-1CEST,M3.5.0,M10.5.0/3
305Europe/Dublin GMT0IST,M3.5.0/1,M10.5.0
306Europe/Gibraltar CET-1CEST,M3.5.0,M10.5.0/3
307Europe/Guernsey GMT0BST,M3.5.0/1,M10.5.0
308Europe/Helsinki EET-2EEST,M3.5.0/3,M10.5.0/4
309Europe/Isle of Man GMT0BST,M3.5.0/1,M10.5.0
310Europe/Istanbul EET-2EEST,M3.5.0/3,M10.5.0/4
311Europe/Jersey GMT0BST,M3.5.0/1,M10.5.0
312Europe/Kaliningrad EET-2EEST,M3.5.0,M10.5.0/3
313Europe/Kiev EET-2EEST,M3.5.0/3,M10.5.0/4
314Europe/Lisbon WET0WEST,M3.5.0/1,M10.5.0
315Europe/Ljubljana CET-1CEST,M3.5.0,M10.5.0/3
316Europe/London GMT0BST,M3.5.0/1,M10.5.0
317Europe/Luxembourg CET-1CEST,M3.5.0,M10.5.0/3
318Europe/Madrid CET-1CEST,M3.5.0,M10.5.0/3
319Europe/Malta CET-1CEST,M3.5.0,M10.5.0/3
320Europe/Mariehamn EET-2EEST,M3.5.0/3,M10.5.0/4
321Europe/Minsk EET-2EEST,M3.5.0,M10.5.0/3
322Europe/Monaco CET-1CEST,M3.5.0,M10.5.0/3
323Europe/Moscow MSK-3MSD,M3.5.0,M10.5.0/3
324Europe/Oslo CET-1CEST,M3.5.0,M10.5.0/3
325Europe/Paris CET-1CEST,M3.5.0,M10.5.0/3
326Europe/Podgorica CET-1CEST,M3.5.0,M10.5.0/3
327Europe/Prague CET-1CEST,M3.5.0,M10.5.0/3
328Europe/Riga EET-2EEST,M3.5.0/3,M10.5.0/4
329Europe/Rome CET-1CEST,M3.5.0,M10.5.0/3
330Europe/Samara SAMT-3SAMST,M3.5.0,M10.5.0/3
331Europe/San Marino CET-1CEST,M3.5.0,M10.5.0/3
332Europe/Sarajevo CET-1CEST,M3.5.0,M10.5.0/3
333Europe/Simferopol EET-2EEST,M3.5.0/3,M10.5.0/4
334Europe/Skopje CET-1CEST,M3.5.0,M10.5.0/3
335Europe/Sofia EET-2EEST,M3.5.0/3,M10.5.0/4
336Europe/Stockholm CET-1CEST,M3.5.0,M10.5.0/3
337Europe/Tallinn EET-2EEST,M3.5.0/3,M10.5.0/4
338Europe/Tirane CET-1CEST,M3.5.0,M10.5.0/3
339Europe/Uzhgorod EET-2EEST,M3.5.0/3,M10.5.0/4
340Europe/Vaduz CET-1CEST,M3.5.0,M10.5.0/3
341Europe/Vatican CET-1CEST,M3.5.0,M10.5.0/3
342Europe/Vienna CET-1CEST,M3.5.0,M10.5.0/3
343Europe/Vilnius EET-2EEST,M3.5.0/3,M10.5.0/4
344Europe/Volgograd VOLT-3VOLST,M3.5.0,M10.5.0/3
345Europe/Warsaw CET-1CEST,M3.5.0,M10.5.0/3
346Europe/Zagreb CET-1CEST,M3.5.0,M10.5.0/3
347Europe/Zaporozhye EET-2EEST,M3.5.0/3,M10.5.0/4
348Europe/Zurich CET-1CEST,M3.5.0,M10.5.0/3
349Indian/Antananarivo EAT-3
350Indian/Chagos IOT-6
351Indian/Christmas CXT-7
352Indian/Cocos CCT-6:30
353Indian/Comoro EAT-3
354Indian/Kerguelen TFT-5
355Indian/Mahe SCT-4
356Indian/Maldives MVT-5
357Indian/Mauritius MUT-4
358Indian/Mayotte EAT-3
359Indian/Reunion RET-4
360Pacific/Apia WST11
361Pacific/Auckland NZST-12NZDT,M9.5.0,M4.1.0/3
362Pacific/Chatham CHAST-12:45CHADT,M9.5.0/2:45,M4.1.0/3:45
363Pacific/Efate VUT-11
364Pacific/Enderbury PHOT-13
365Pacific/Fakaofo TKT10
366Pacific/Fiji FJT-12
367Pacific/Funafuti TVT-12
368Pacific/Galapagos GALT6
369Pacific/Gambier GAMT9
370Pacific/Guadalcanal SBT-11
371Pacific/Guam ChST-10
372Pacific/Honolulu HST10
373Pacific/Johnston HST10
374Pacific/Kiritimati LINT-14
375Pacific/Kosrae KOST-11
376Pacific/Kwajalein MHT-12
377Pacific/Majuro MHT-12
378Pacific/Marquesas MART9:30
379Pacific/Midway SST11
380Pacific/Nauru NRT-12
381Pacific/Niue NUT11
382Pacific/Norfolk NFT-11:30
383Pacific/Noumea NCT-11
384Pacific/Pago Pago SST11
385Pacific/Palau PWT-9
386Pacific/Pitcairn PST8
387Pacific/Ponape PONT-11
388Pacific/Port Moresby PGT-10
389Pacific/Rarotonga CKT10
390Pacific/Saipan ChST-10
391Pacific/Tahiti TAHT10
392Pacific/Tarawa GILT-12
393Pacific/Tongatapu TOT-13
394Pacific/Truk TRUT-10
395Pacific/Wake WAKT-12
396Pacific/Wallis WFT-12
1Africa/Abidjan|GMT0
2Africa/Accra|GMT0
3Africa/Addis_Ababa|EAT-3
4Africa/Algiers|CET-1
5Africa/Asmara|EAT-3
6Africa/Bamako|GMT0
7Africa/Bangui|WAT-1
8Africa/Banjul|GMT0
9Africa/Bissau|GMT0
10Africa/Blantyre|CAT-2
11Africa/Brazzaville|WAT-1
12Africa/Bujumbura|CAT-2
13Africa/Casablanca|WET0
14Africa/Ceuta|CET-1CEST,M3.5.0,M10.5.0/3
15Africa/Conakry|GMT0
16Africa/Dakar|GMT0
17Africa/Dar_es_Salaam|EAT-3
18Africa/Djibouti|EAT-3
19Africa/Douala|WAT-1
20Africa/El_Aaiun|WET0
21Africa/Freetown|GMT0
22Africa/Gaborone|CAT-2
23Africa/Harare|CAT-2
24Africa/Johannesburg|SAST-2
25Africa/Kampala|EAT-3
26Africa/Khartoum|EAT-3
27Africa/Kigali|CAT-2
28Africa/Kinshasa|WAT-1
29Africa/Lagos|WAT-1
30Africa/Libreville|WAT-1
31Africa/Lome|GMT0
32Africa/Luanda|WAT-1
33Africa/Lubumbashi|CAT-2
34Africa/Lusaka|CAT-2
35Africa/Malabo|WAT-1
36Africa/Maputo|CAT-2
37Africa/Maseru|SAST-2
38Africa/Mbabane|SAST-2
39Africa/Mogadishu|EAT-3
40Africa/Monrovia|GMT0
41Africa/Nairobi|EAT-3
42Africa/Ndjamena|WAT-1
43Africa/Niamey|WAT-1
44Africa/Nouakchott|GMT0
45Africa/Ouagadougou|GMT0
46Africa/Porto-Novo|WAT-1
47Africa/Sao_Tome|GMT0
48Africa/Tripoli|EET-2
49Africa/Tunis|CET-1
50Africa/Windhoek|WAT-1WAST,M9.1.0,M4.1.0
51America/Adak|HAST10HADT,M3.2.0,M11.1.0
52America/Anchorage|AKST9AKDT,M3.2.0,M11.1.0
53America/Anguilla|AST4
54America/Antigua|AST4
55America/Araguaina|BRT3
56America/Argentina/Buenos_Aires|ART3
57America/Argentina/Catamarca|ART3
58America/Argentina/Cordoba|ART3
59America/Argentina/Jujuy|ART3
60America/Argentina/La_Rioja|ART3
61America/Argentina/Mendoza|ART3
62America/Argentina/Rio_Gallegos|ART3
63America/Argentina/Salta|ART3
64America/Argentina/San_Juan|ART3
65America/Argentina/Tucuman|ART3
66America/Argentina/Ushuaia|ART3
67America/Aruba|AST4
68America/Asuncion|PYT4PYST,M10.1.0/0,M4.2.0/0
69America/Atikokan|EST5
70America/Bahia|BRT3
71America/Barbados|AST4
72America/Belem|BRT3
73America/Belize|CST6
74America/Blanc-Sablon|AST4
75America/Boa_Vista|AMT4
76America/Bogota|COT5
77America/Boise|MST7MDT,M3.2.0,M11.1.0
78America/Cambridge_Bay|MST7MDT,M3.2.0,M11.1.0
79America/Campo_Grande|AMT4AMST,M10.3.0/0,M2.3.0/0
80America/Cancun|CST6CDT,M4.1.0,M10.5.0
81America/Caracas|VET4:30
82America/Cayenne|GFT3
83America/Cayman|EST5
84America/Chicago|CST6CDT,M3.2.0,M11.1.0
85America/Chihuahua|MST7MDT,M4.1.0,M10.5.0
86America/Costa_Rica|CST6
87America/Cuiaba|AMT4AMST,M10.3.0/0,M2.3.0/0
88America/Curacao|AST4
89America/Danmarkshavn|GMT0
90America/Dawson|PST8PDT,M3.2.0,M11.1.0
91America/Dawson|Creek|MST7
92America/Denver|MST7MDT,M3.2.0,M11.1.0
93America/Detroit|EST5EDT,M3.2.0,M11.1.0
94America/Dominica|AST4
95America/Edmonton|MST7MDT,M3.2.0,M11.1.0
96America/Eirunepe|AMT4
97America/El_Salvador|CST6
98America/Fortaleza|BRT3
99America/Glace_Bay|AST4ADT,M3.2.0,M11.1.0
100America/Goose_Bay|AST4ADT,M3.2.0/0:01,M11.1.0/0:01
101America/Grand_Turk|EST5EDT,M3.2.0,M11.1.0
102America/Grenada|AST4
103America/Guadeloupe|AST4
104America/Guatemala|CST6
105America/Guayaquil|ECT5
106America/Guyana|GYT4
107America/Halifax|AST4ADT,M3.2.0,M11.1.0
108America/Havana|CST5CDT,M3.2.0/0,M10.5.0/1
109America/Hermosillo|MST7
110America/Indiana/Indianapolis|EST5EDT,M3.2.0,M11.1.0
111America/Indiana/Knox|CST6CDT,M3.2.0,M11.1.0
112America/Indiana/Marengo|EST5EDT,M3.2.0,M11.1.0
113America/Indiana/Petersburg|EST5EDT,M3.2.0,M11.1.0
114America/Indiana/Tell_City|CST6CDT,M3.2.0,M11.1.0
115America/Indiana/Vevay|EST5EDT,M3.2.0,M11.1.0
116America/Indiana/Vincennes|EST5EDT,M3.2.0,M11.1.0
117America/Indiana/Winamac|EST5EDT,M3.2.0,M11.1.0
118America/Inuvik|MST7MDT,M3.2.0,M11.1.0
119America/Iqaluit|EST5EDT,M3.2.0,M11.1.0
120America/Jamaica|EST5
121America/Juneau|AKST9AKDT,M3.2.0,M11.1.0
122America/Kentucky/Louisville|EST5EDT,M3.2.0,M11.1.0
123America/Kentucky/Monticello|EST5EDT,M3.2.0,M11.1.0
124America/La_Paz|BOT4
125America/Lima|PET5
126America/Los_Angeles|PST8PDT,M3.2.0,M11.1.0
127America/Maceio|BRT3
128America/Managua|CST6
129America/Manaus|AMT4
130America/Marigot|AST4
131America/Martinique|AST4
132America/Matamoros|CST6CDT,M3.2.0,M11.1.0
133America/Mazatlan|MST7MDT,M4.1.0,M10.5.0
134America/Menominee|CST6CDT,M3.2.0,M11.1.0
135America/Merida|CST6CDT,M4.1.0,M10.5.0
136America/Mexico_City|CST6CDT,M4.1.0,M10.5.0
137America/Miquelon|PMST3PMDT,M3.2.0,M11.1.0
138America/Moncton|AST4ADT,M3.2.0,M11.1.0
139America/Monterrey|CST6CDT,M4.1.0,M10.5.0
140America/Montevideo|UYT3UYST,M10.1.0,M3.2.0
141America/Montreal|EST5EDT,M3.2.0,M11.1.0
142America/Montserrat|AST4
143America/Nassau|EST5EDT,M3.2.0,M11.1.0
144America/New_York|EST5EDT,M3.2.0,M11.1.0
145America/Nipigon|EST5EDT,M3.2.0,M11.1.0
146America/Nome|AKST9AKDT,M3.2.0,M11.1.0
147America/Noronha|FNT2
148America/North_Dakota/Center|CST6CDT,M3.2.0,M11.1.0
149America/North_Dakota/New|Salem|CST6CDT,M3.2.0,M11.1.0
150America/Ojinaga|MST7MDT,M3.2.0,M11.1.0
151America/Panama|EST5
152America/Pangnirtung|EST5EDT,M3.2.0,M11.1.0
153America/Paramaribo|SRT3
154America/Phoenix|MST7
155America/Port_of_Spain|AST4
156America/Port-au-Prince|EST5
157America/Porto|Velho|AMT4
158America/Puerto|Rico|AST4
159America/Rainy_River|CST6CDT,M3.2.0,M11.1.0
160America/Rankin_Inlet|CST6CDT,M3.2.0,M11.1.0
161America/Recife|BRT3
162America/Regina|CST6
163America/Rio_Branco|AMT4
164America/Santa_Isabel|PST8PDT,M4.1.0,M10.5.0
165America/Santarem|BRT3
166America/Santo_Domingo|AST4
167America/Sao_Paulo|BRT3BRST,M10.3.0/0,M2.3.0/0
168America/Scoresbysund|EGT1EGST,M3.5.0/0,M10.5.0/1
169America/Shiprock|MST7MDT,M3.2.0,M11.1.0
170America/St_Barthelemy|AST4
171America/St_Johns|NST3:30NDT,M3.2.0/0:01,M11.1.0/0:01
172America/St_Kitts|AST4
173America/St_Lucia|AST4
174America/St_Thomas|AST4
175America/St_Vincent|AST4
176America/Swift_Current|CST6
177America/Tegucigalpa|CST6
178America/Thule|AST4ADT,M3.2.0,M11.1.0
179America/Thunder_Bay|EST5EDT,M3.2.0,M11.1.0
180America/Tijuana|PST8PDT,M3.2.0,M11.1.0
181America/Toronto|EST5EDT,M3.2.0,M11.1.0
182America/Tortola|AST4
183America/Vancouver|PST8PDT,M3.2.0,M11.1.0
184America/Whitehorse|PST8PDT,M3.2.0,M11.1.0
185America/Winnipeg|CST6CDT,M3.2.0,M11.1.0
186America/Yakutat|AKST9AKDT,M3.2.0,M11.1.0
187America/Yellowknife|MST7MDT,M3.2.0,M11.1.0
188Antarctica/Casey|WST-8
189Antarctica/Davis|DAVT-7
190Antarctica/DumontDUrville|DDUT-10
191Antarctica/Macquarie|MIST-11
192Antarctica/Mawson|MAWT-5
193Antarctica/McMurdo|NZST-12NZDT,M9.5.0,M4.1.0/3
194Antarctica/Rothera|ROTT3
195Antarctica/South_Pole|NZST-12NZDT,M9.5.0,M4.1.0/3
196Antarctica/Syowa|SYOT-3
197Antarctica/Vostok|VOST-6
198Arctic/Longyearbyen|CET-1CEST,M3.5.0,M10.5.0/3
199Asia/Aden|AST-3
200Asia/Almaty|ALMT-6
201Asia/Anadyr|ANAT-11ANAST,M3.5.0,M10.5.0/3
202Asia/Aqtau|AQTT-5
203Asia/Aqtobe|AQTT-5
204Asia/Ashgabat|TMT-5
205Asia/Baghdad|AST-3
206Asia/Bahrain|AST-3
207Asia/Baku|AZT-4AZST,M3.5.0/4,M10.5.0/5
208Asia/Bangkok|ICT-7
209Asia/Beirut|EET-2EEST,M3.5.0/0,M10.5.0/0
210Asia/Bishkek|KGT-6
211Asia/Brunei|BNT-8
212Asia/Choibalsan|CHOT-8
213Asia/Chongqing|CST-8
214Asia/Colombo|IST-5:30
215Asia/Damascus|EET-2EEST,M4.1.5/0,M10.5.5/0
216Asia/Dhaka|BDT-6
217Asia/Dili|TLT-9
218Asia/Dubai|GST-4
219Asia/Dushanbe|TJT-5
220Asia/Gaza|EET-2EEST,M3.5.6/0:01,M9.1.5
221Asia/Harbin|CST-8
222Asia/Ho_Chi|Minh|ICT-7
223Asia/Hong_Kong|HKT-8
224Asia/Hovd|HOVT-7
225Asia/Irkutsk|IRKT-8IRKST,M3.5.0,M10.5.0/3
226Asia/Jakarta|WIT-7
227Asia/Jayapura|EIT-9
228Asia/Kabul|AFT-4:30
229Asia/Kamchatka|PETT-11PETST,M3.5.0,M10.5.0/3
230Asia/Karachi|PKT-5
231Asia/Kashgar|CST-8
232Asia/Kathmandu|NPT-5:45
233Asia/Kolkata|IST-5:30
234Asia/Krasnoyarsk|KRAT-7KRAST,M3.5.0,M10.5.0/3
235Asia/Kuala_Lumpur|MYT-8
236Asia/Kuching|MYT-8
237Asia/Kuwait|AST-3
238Asia/Macau|CST-8
239Asia/Magadan|MAGT-11MAGST,M3.5.0,M10.5.0/3
240Asia/Makassar|CIT-8
241Asia/Manila|PHT-8
242Asia/Muscat|GST-4
243Asia/Nicosia|EET-2EEST,M3.5.0/3,M10.5.0/4
244Asia/Novokuznetsk|NOVT-6NOVST,M3.5.0,M10.5.0/3
245Asia/Novosibirsk|NOVT-6NOVST,M3.5.0,M10.5.0/3
246Asia/Omsk|OMST-6OMSST,M3.5.0,M10.5.0/3
247Asia/Oral|ORAT-5
248Asia/Phnom_Penh|ICT-7
249Asia/Pontianak|WIT-7
250Asia/Pyongyang|KST-9
251Asia/Qatar|AST-3
252Asia/Qyzylorda|QYZT-6
253Asia/Rangoon|MMT-6:30
254Asia/Riyadh|AST-3
255Asia/Sakhalin|SAKT-10SAKST,M3.5.0,M10.5.0/3
256Asia/Samarkand|UZT-5
257Asia/Seoul|KST-9
258Asia/Shanghai|CST-8
259Asia/Singapore|SGT-8
260Asia/Taipei|CST-8
261Asia/Tashkent|UZT-5
262Asia/Tbilisi|GET-4
263Asia/Thimphu|BTT-6
264Asia/Tokyo|JST-9
265Asia/Ulaanbaatar|ULAT-8
266Asia/Urumqi|CST-8
267Asia/Vientiane|ICT-7
268Asia/Vladivostok|VLAT-10VLAST,M3.5.0,M10.5.0/3
269Asia/Yakutsk|YAKT-9YAKST,M3.5.0,M10.5.0/3
270Asia/Yekaterinburg|YEKT-5YEKST,M3.5.0,M10.5.0/3
271Asia/Yerevan|AMT-4AMST,M3.5.0,M10.5.0/3
272Atlantic/Azores|AZOT1AZOST,M3.5.0/0,M10.5.0/1
273Atlantic/Bermuda|AST4ADT,M3.2.0,M11.1.0
274Atlantic/Canary|WET0WEST,M3.5.0/1,M10.5.0
275Atlantic/Cape_Verde|CVT1
276Atlantic/Faroe|WET0WEST,M3.5.0/1,M10.5.0
277Atlantic/Madeira|WET0WEST,M3.5.0/1,M10.5.0
278Atlantic/Reykjavik|GMT0
279Atlantic/South_Georgia|GST2
280Atlantic/St_Helena|GMT0
281Atlantic/Stanley|FKT4FKST,M9.1.0,M4.3.0
282Australia/Adelaide|CST-9:30CST,M10.1.0,M4.1.0/3
283Australia/Brisbane|EST-10
284Australia/Broken_Hill|CST-9:30CST,M10.1.0,M4.1.0/3
285Australia/Currie|EST-10EST,M10.1.0,M4.1.0/3
286Australia/Darwin|CST-9:30
287Australia/Eucla|CWST-8:45
288Australia/Hobart|EST-10EST,M10.1.0,M4.1.0/3
289Australia/Lindeman|EST-10
290Australia/Lord_Howe|LHST-10:30LHST-11,M10.1.0,M4.1.0
291Australia/Melbourne|EST-10EST,M10.1.0,M4.1.0/3
292Australia/Perth|WST-8
293Australia/Sydney|EST-10EST,M10.1.0,M4.1.0/3
294Europe/Amsterdam|CET-1CEST,M3.5.0,M10.5.0/3
295Europe/Andorra|CET-1CEST,M3.5.0,M10.5.0/3
296Europe/Athens|EET-2EEST,M3.5.0/3,M10.5.0/4
297Europe/Belgrade|CET-1CEST,M3.5.0,M10.5.0/3
298Europe/Berlin|CET-1CEST,M3.5.0,M10.5.0/3
299Europe/Bratislava|CET-1CEST,M3.5.0,M10.5.0/3
300Europe/Brussels|CET-1CEST,M3.5.0,M10.5.0/3
301Europe/Bucharest|EET-2EEST,M3.5.0/3,M10.5.0/4
302Europe/Budapest|CET-1CEST,M3.5.0,M10.5.0/3
303Europe/Chisinau|EET-2EEST,M3.5.0/3,M10.5.0/4
304Europe/Copenhagen|CET-1CEST,M3.5.0,M10.5.0/3
305Europe/Dublin|GMT0IST,M3.5.0/1,M10.5.0
306Europe/Gibraltar|CET-1CEST,M3.5.0,M10.5.0/3
307Europe/Guernsey|GMT0BST,M3.5.0/1,M10.5.0
308Europe/Helsinki|EET-2EEST,M3.5.0/3,M10.5.0/4
309Europe/Isle_of_Man|GMT0BST,M3.5.0/1,M10.5.0
310Europe/Istanbul|EET-2EEST,M3.5.0/3,M10.5.0/4
311Europe/Jersey|GMT0BST,M3.5.0/1,M10.5.0
312Europe/Kaliningrad|EET-2EEST,M3.5.0,M10.5.0/3
313Europe/Kiev|EET-2EEST,M3.5.0/3,M10.5.0/4
314Europe/Lisbon|WET0WEST,M3.5.0/1,M10.5.0
315Europe/Ljubljana|CET-1CEST,M3.5.0,M10.5.0/3
316Europe/London|GMT0BST,M3.5.0/1,M10.5.0
317Europe/Luxembourg|CET-1CEST,M3.5.0,M10.5.0/3
318Europe/Madrid|CET-1CEST,M3.5.0,M10.5.0/3
319Europe/Malta|CET-1CEST,M3.5.0,M10.5.0/3
320Europe/Mariehamn|EET-2EEST,M3.5.0/3,M10.5.0/4
321Europe/Minsk|EET-2EEST,M3.5.0,M10.5.0/3
322Europe/Monaco|CET-1CEST,M3.5.0,M10.5.0/3
323Europe/Moscow|MSK-3MSD,M3.5.0,M10.5.0/3
324Europe/Oslo|CET-1CEST,M3.5.0,M10.5.0/3
325Europe/Paris|CET-1CEST,M3.5.0,M10.5.0/3
326Europe/Podgorica|CET-1CEST,M3.5.0,M10.5.0/3
327Europe/Prague|CET-1CEST,M3.5.0,M10.5.0/3
328Europe/Riga|EET-2EEST,M3.5.0/3,M10.5.0/4
329Europe/Rome|CET-1CEST,M3.5.0,M10.5.0/3
330Europe/Samara|SAMT-3SAMST,M3.5.0,M10.5.0/3
331Europe/San_Marino|CET-1CEST,M3.5.0,M10.5.0/3
332Europe/Sarajevo|CET-1CEST,M3.5.0,M10.5.0/3
333Europe/Simferopol|EET-2EEST,M3.5.0/3,M10.5.0/4
334Europe/Skopje|CET-1CEST,M3.5.0,M10.5.0/3
335Europe/Sofia|EET-2EEST,M3.5.0/3,M10.5.0/4
336Europe/Stockholm|CET-1CEST,M3.5.0,M10.5.0/3
337Europe/Tallinn|EET-2EEST,M3.5.0/3,M10.5.0/4
338Europe/Tirane|CET-1CEST,M3.5.0,M10.5.0/3
339Europe/Uzhgorod|EET-2EEST,M3.5.0/3,M10.5.0/4
340Europe/Vaduz|CET-1CEST,M3.5.0,M10.5.0/3
341Europe/Vatican|CET-1CEST,M3.5.0,M10.5.0/3
342Europe/Vienna|CET-1CEST,M3.5.0,M10.5.0/3
343Europe/Vilnius|EET-2EEST,M3.5.0/3,M10.5.0/4
344Europe/Volgograd|VOLT-3VOLST,M3.5.0,M10.5.0/3
345Europe/Warsaw|CET-1CEST,M3.5.0,M10.5.0/3
346Europe/Zagreb|CET-1CEST,M3.5.0,M10.5.0/3
347Europe/Zaporozhye|EET-2EEST,M3.5.0/3,M10.5.0/4
348Europe/Zurich|CET-1CEST,M3.5.0,M10.5.0/3
349Indian/Antananarivo|EAT-3
350Indian/Chagos|IOT-6
351Indian/Christmas|CXT-7
352Indian/Cocos|CCT-6:30
353Indian/Comoro|EAT-3
354Indian/Kerguelen|TFT-5
355Indian/Mahe|SCT-4
356Indian/Maldives|MVT-5
357Indian/Mauritius|MUT-4
358Indian/Mayotte|EAT-3
359Indian/Reunion|RET-4
360Pacific/Apia|WST11
361Pacific/Auckland|NZST-12NZDT,M9.5.0,M4.1.0/3
362Pacific/Chatham|CHAST-12:45CHADT,M9.5.0/2:45,M4.1.0/3:45
363Pacific/Efate|VUT-11
364Pacific/Enderbury|PHOT-13
365Pacific/Fakaofo|TKT10
366Pacific/Fiji|FJT-12
367Pacific/Funafuti|TVT-12
368Pacific/Galapagos|GALT6
369Pacific/Gambier|GAMT9
370Pacific/Guadalcanal|SBT-11
371Pacific/Guam|ChST-10
372Pacific/Honolulu|HST10
373Pacific/Johnston|HST10
374Pacific/Kiritimati|LINT-14
375Pacific/Kosrae|KOST-11
376Pacific/Kwajalein|MHT-12
377Pacific/Majuro|MHT-12
378Pacific/Marquesas|MART9:30
379Pacific/Midway|SST11
380Pacific/Nauru|NRT-12
381Pacific/Niue|NUT11
382Pacific/Norfolk|NFT-11:30
383Pacific/Noumea|NCT-11
384Pacific/Pago|Pago|SST11
385Pacific/Palau|PWT-9
386Pacific/Pitcairn|PST8
387Pacific/Ponape|PONT-11
388Pacific/Port_Moresby|PGT-10
389Pacific/Rarotonga|CKT10
390Pacific/Saipan|ChST-10
391Pacific/Tahiti|TAHT10
392Pacific/Tarawa|GILT-12
393Pacific/Tongatapu|TOT-13
394Pacific/Truk|TRUT-10
395Pacific/Wake|WAKT-12
396Pacific/Wallis|WFT-12
tweaks/README.txt
1This directory contians Files that I have "Tweaked"
2to make the BNN work a little more the way I like.
3You may find them useful or interesting
4
5enjoy
6
tweaks/etc/banner
1  _______ _____ _____ ___ _
2  _______ | \ | | | \ | |
3  _______ | / | |_ | | \| |
4         | |----< | | | |\ | |
5         | | \ | | | | \ |
6     L |_____/ |_____| |_| \__|
7              === N A N O N O T E ===
8              Open Hardware That Rocks!
9             Powered by OpenWRT
10---------------------------------------
tweaks/etc/profile
1#!/bin/sh
2setfont /usr/share/kbd/consolefonts/kernel-6x11-font
3[ -f /etc/banner ] && cat /etc/banner
4
5export PATH=/bin:/sbin:/usr/bin:/usr/sbin
6export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
7export HOME=${HOME:-/root}
8export PS1='\u@\h:\w\$ '
9
10[ -x /bin/more ] || alias more=less
11[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
12
13[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
14
15[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
16[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
17
18setfont /usr/share/kbd/consolefonts/kernel-6x11-font

Archive Download the corresponding diff file

Branches:
master



interactive