Skip to content

Commit 501f4da

Browse files
committed
Improve text output
- Alert when wifi is not configured, it's easy to overlook - Remove 'Jessie' since it's not the version used for the last few years
1 parent 7646ed5 commit 501f4da

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

cmd/efe/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ func mainImpl() error {
338338
return errors.New("-sdcard is required")
339339
}
340340

341+
if *wifiSSID == "" {
342+
fmt.Println("Wifi will not be configured!")
343+
}
341344
imgpath, err := distro.Fetch()
342345
if err != nil {
343346
return err

img/boards.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ func (d *Distro) fetchRaspberryPi() (string, error) {
282282
return "", err
283283
}
284284
if f, _ := os.Open(imgpath); f != nil {
285-
fmt.Printf("- Reusing Raspbian Jessie Lite image %s\n", imgpath)
285+
fmt.Printf("- Reusing Raspbian Lite image %s\n", imgpath)
286286
f.Close()
287287
return imgpath, nil
288288
}

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ EOF
212212
hdmi_mode=87
213213
hdmi_cvt 800 480 60 6 0 0 0
214214
# Enable touchscreen:
215-
# Not necessary on Jessie Lite since it boots in console mode. :)
215+
# Not necessary on Raspbian Lite since it boots in console mode. :)
216216
# Some displays use 22, others 25.
217217
# Enabling this means the SPI bus cannot be used anymore.
218218
#dtoverlay=ads7846,penirq=22,penirq_pull=2,speed=10000,xohms=150

0 commit comments

Comments
 (0)