repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dnsmasq: re-apply original Tomato specific code
[tomato.git]
/
release
/
src-rt-6.x.4708
/
router
/
dnsmasq
/
dnsmasq.install
blob
fb5dfc5e99e871f13539ccb0f96a86ba5c286730
1
post_install() {
2
if ! getent passwd dnsmasq &>/dev/null; then
3
useradd -r -U -c "Local DNS Resolver" -d / -s /usr/bin/nologin dnsmasq
4
fi
5
}
6
7
post_upgrade() {
8
post_install
9
}