Skip to content

Commit 41c82d0

Browse files
committed
fixed start on boot for coderbot
1 parent 6635ed8 commit 41c82d0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

init.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/usr/bin/python
22

3-
import coderbot
4-
import main
53
import os
64

75
os.chdir("/home/pi/coderbot_lboro/")
86

7+
import coderbot
8+
import main
9+
910
if __name__=="__main__":
1011
main.run_server()

scripts/coderbot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Default-Start: 2 3 4 5
88
# Default-Stop: 0 1 6
99
# Short-Description: Web-based Blockly Interface for Pi
10-
# Description: Web-based Blockly Interface for programming the Pi, goto 10.0.0.10:8080
10+
# Description: Web-based Blockly Interface for programming the Pi, goto 10.0.0.1:8080
1111
### END INIT INFO
1212

1313
# Location of daemon python script

0 commit comments

Comments
 (0)