Commit ff9ee7f8 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

main/busybox-initscripts: make resolv.conf readable by all

resolv.conf may be created with too restrictive mode depending on umask
parent 1c1e2c23
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox-initscripts
pkgver=3.1
pkgrel=1
pkgrel=2
pkgdesc="Init scripts for busybox daemons"
url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
arch="noarch"
......@@ -76,4 +76,4 @@ ebd82f935da2ca89097234dd8a8f47e179a423652c151123a1f3343f3e1e7bfaba2b8800380e988d
b2dcf0ded9264334d79fbbb05dd12d649dc3119a060db5893f0e8aeca2141323961c3ba4c822a0ffb00dba848742d5cb374dc77e776b57cecde352a3e8e30f8a usbdev
392c40d223bdff59a624bd67907c06cff9c1b5468c25c19e10dbc3cef3208275d93966e760f140d71a86cb36ec796ea08dbaa767b40c12e9326c3c72964b28a8 usbdisk_link
5db6fa8bbb2d891212187c598cd8703277b3fcb95b5dba6628f7128eb48cc7c1bf4c53885e9d870999c8c95d2fe9cd27609b523596dc553c31b6f72a452a0118 xvd_links
9c0cbe4f1a74afe95d16e601759b93488da279f5f9a0b17077fb505c92b87439a94022cdd380f226bc5a7212dc917215bac724061b8221486a403e3c0f5ba957 default.script"
e260283c154169b62e1ce975b0e1fd7708e3e7daf27afc9a9f6d121331eb7f1607a6b6babb29237bacd30668505930929fdae31db760828e1758269e08ad7223 default.script"
......@@ -92,6 +92,7 @@ resolvconf() {
for i in $dns; do
echo "nameserver $i" >> "$RESOLV_CONF.$$"
done
chmod a+r "$RESOLV_CONF.$$"
mv "$RESOLV_CONF.$$" "$RESOLV_CONF"
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment