Parcourir la source

gluon-autoupdater: no need to provide a default config just to delete it in the initial script

Matthias Schiffer il y a 10 ans
Parent
commit
1dd9a9a8a1

+ 10 - 10
package/gluon-autoupdater/files/etc/config/autoupdater

@@ -1,21 +1,21 @@
-config autoupdater settings
-	option enabled 1
-	option branch "stable"
+#config autoupdater settings
+#	option enabled 1
+#	option branch "stable"
 
-config branch stable
-	option url 'http://[fdef:ffc0:3dd7::8]/~freifunk/firmware/autoupdate'
+#config branch stable
+#	option url 'http://[fdef:ffc0:3dd7::8]/~freifunk/firmware/autoupdate'
 
 	# The updater will run once per hour and perform an update with a certain
 	# probability.
 	# 1.0 - perform an update every hour
 	# 0.5 - on average, perform an update every two hours
 	# 0.0 - inhibit any automatic updates
-	option probability 0.5
+#	option probability 0.5
 
 	# Minimum valid signatures required to perform the update
-	option good_signatures 2
+#	option good_signatures 2
 
 	# List of public keys
-	list pubkey 'beea7da92ed0c19563b6c259162b4cb471aa2fdf9d3939d05fea2cf498ea7642'
-	list pubkey 'c75c9390cf5d7cc49a388d35f831ca379060cf7bca8c6e3d2d1ea31604597c42'
-	list pubkey '03e9514f137f0467c0f0ac108892c0da2b71f1039b30f863331cbd5701abd042'
+#	list pubkey 'beea7da92ed0c19563b6c259162b4cb471aa2fdf9d3939d05fea2cf498ea7642'
+#	list pubkey 'c75c9390cf5d7cc49a388d35f831ca379060cf7bca8c6e3d2d1ea31604597c42'
+#	list pubkey '03e9514f137f0467c0f0ac108892c0da2b71f1039b30f863331cbd5701abd042'

+ 0 - 3
package/gluon-autoupdater/files/lib/gluon/upgrade/autoupdater/initial/010-initial

@@ -1,3 +0,0 @@
-#!/bin/sh
-
-uci -q delete autoupdater.settings