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
Changes to update Tomato RAF.
[tomato.git]
/
release
/
src
/
router
/
dnsmasq
/
debian
/
dnsmasq-base.postrm
blob
950a9ffa8e3edf8878975ec3e8c9996fa68aa596
1
#!/bin/sh
2
set -e
3
4
if
[
purge
=
"
$1
"
];
then
5
if
[
-x
"$(command -v deluser)"
];
then
6
deluser
--quiet --system
dnsmasq
> /
dev
/
null || true
7
else
8
echo
>&
2
"not removing dnsmasq system account because deluser command was not found"
9
fi
10
rm
-rf
/
var
/
run
/
dnsmasq
11
fi