diff options
author | Timo Teras <timo.teras@iki.fi> | 2010-04-19 11:24:45 +0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-19 13:15:55 +0000 |
commit | fbea38f9a65456f1e7e08630201c5e8caea72ed2 (patch) | |
tree | 4720e07f647ded89ec9b7c384c67376eeb119e97 /main/djbdns/tinydns.initd | |
parent | 236a35ddd6048ddff7f05c47777840973141369d (diff) | |
download | aports-fbea38f9a65456f1e7e08630201c5e8caea72ed2.tar.bz2 aports-fbea38f9a65456f1e7e08630201c5e8caea72ed2.tar.xz |
main/djbdns: periodic script to update zone hints
This also splits the djbdns to djbdns-common that contains the
few utilities needed by the periodic script. Minor fix to init.d
script included also.
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Diffstat (limited to 'main/djbdns/tinydns.initd')
-rwxr-xr-x | main/djbdns/tinydns.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/djbdns/tinydns.initd b/main/djbdns/tinydns.initd index ab15ffe37a..8dfc539307 100755 --- a/main/djbdns/tinydns.initd +++ b/main/djbdns/tinydns.initd @@ -29,8 +29,8 @@ fi # Main program reload() { local rc opwd="$opwd" - UID=$( grep tinydns /etc/passwd | cut -f3 -d: ) - GID=$( grep tinydns /etc/group | cut -f3 -d: ) + UID=$(id -u tinydns) + GID=$(id -g tinydns) # Create the $ROOT directory if necessary if [ ! -d "$ROOT" ]; then |