Skip to content

Commit acee6fb

Browse files
authored
Merge pull request helium#8 from helium/madninja/ramips_update
Add ramips install step
2 parents 6417b70 + 6e2f666 commit acee6fb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

package/ramips_24kec/control/postinst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22

3-
43
/etc/init.d/helium_gateway enable
5-
/etc/init.d/helium_gateway start
4+
/etc/init.d/helium_gateway restart
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh -e
2+
3+
# install the package. postinst step will (re)start the service
4+
opkg install "${1}"

package/ramips_24kec/data/etc/helium_gateway/settings.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ enabled = true
1313
channel = "release"
1414
interval = 10
1515
platform = "ramips_24kec"
16+
command = "/etc/helium_gateway/install_update"

0 commit comments

Comments
 (0)