Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit 1a9dc19

Browse files
author
icymind
committed
enable unbound
1 parent 9c1a787 commit 1a9dc19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/lib/openwrt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ forward-zone:
247247
dnsServers.forEach(ip => {
248248
cfg += ` forward-addr: ${ip}`
249249
})
250-
const cmd = `echo ${cfg} > /etc/unbound/unbound.conf`
250+
const cmd = `echo ${cfg} > /etc/unbound/unbound.conf && /etc/init.d/unbound enable && /etc/inid./unbound restart`
251251
return this.execute(cmd)
252252
}
253253

0 commit comments

Comments
 (0)