diff --git a/package/gluon-autoupdater/files/etc/config/autoupdater b/package/gluon-autoupdater/files/etc/config/autoupdater
index 573f5666fd2dee66ed674e1fbafe8d828e856694..b07cf7fc7c1a405f6990edcf4e95608ee0602d44 100644
--- a/package/gluon-autoupdater/files/etc/config/autoupdater
+++ b/package/gluon-autoupdater/files/etc/config/autoupdater
@@ -3,6 +3,9 @@
 #	option branch "stable"
 
 #config branch stable
+	# The branch name given in the manifest
+#	option name 'stable'
+
 #	list mirror 'http://[fdef:ffc0:3dd7::8]/~freifunk/firmware/autoupdate'
 
 	# The updater will run once per hour and perform an update with a certain
diff --git a/package/gluon-autoupdater/files/usr/sbin/autoupdater b/package/gluon-autoupdater/files/usr/sbin/autoupdater
index 773d67c7dc169bee680893ecec746a365b0d7b65..5e351b40289aeff3c30f61e95ae72f2bae198a20 100755
--- a/package/gluon-autoupdater/files/usr/sbin/autoupdater
+++ b/package/gluon-autoupdater/files/usr/sbin/autoupdater
@@ -19,6 +19,7 @@ if test "a$1" != "a-f"; then
   fi
 fi
 
+BRANCH_NAME=$(uci get autoupdater.${BRANCH}.name)
 MIRRORS=$(uci get autoupdater.${BRANCH}.mirror)
 PUBKEYS=$(uci get autoupdater.${BRANCH}.pubkey)
 GOOD_SIGNATURES=$(uci get autoupdater.${BRANCH}.good_signatures)
@@ -83,10 +84,10 @@ verify_manifest() {
 analyse_manifest() {
   local manifest_upper=$1
 
-  grep -q "^BRANCH=${BRANCH}$" $manifest_upper
+  grep -q "^BRANCH=${BRANCH_NAME}$" $manifest_upper
 
   if test $? -ne 0; then
-    echo "Wrong branch. We are on ${BRANCH}" >&2
+    echo "Wrong branch. We are on ${BRANCH_NAME}" >&2
     return 1
   fi
 
diff --git a/package/gluon-autoupdater/invariant.pl b/package/gluon-autoupdater/invariant.pl
index 493eb299f8699faf39994ab311f0e49d639b3a5f..c6bb3b72085acf7873af506a4a569661894db4cb 100644
--- a/package/gluon-autoupdater/invariant.pl
+++ b/package/gluon-autoupdater/invariant.pl
@@ -28,7 +28,7 @@ delete autoupdater.$name
 set autoupdater.$name=branch
 END
 
-  for (qw(probability good_signatures)) {
+  for (qw(name probability good_signatures)) {
     print "set autoupdater.$name.$_=$branch->{$_}\n";
   }