summaryrefslogtreecommitdiff
path: root/sentinel-proxy/files/uci-defaults
blob: d144db5b8bebc5446e8a29799c5cbaea0cf0bed6 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ "$(uci -q get sentinel.main)" != "main" ]; then
	uci -q batch <<EOT
		delete sentinel.main
		set sentinel.main='main'
		commit sentinel.main
EOT
fi