[debian-edu-commits] r81193 - branches/wheezy/debian-edu-config/sbin

pere at alioth.debian.org pere at alioth.debian.org
Wed Jun 26 21:26:41 UTC 2013


Author: pere
Date: 2013-06-26 21:26:41 +0000 (Wed, 26 Jun 2013)
New Revision: 81193

Modified:
   branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup
Log:
Make sure files created by debian-edu-hwsetup is readable by all.

Modified: branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup
===================================================================
--- branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup	2013-06-26 21:23:41 UTC (rev 81192)
+++ branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup	2013-06-26 21:26:41 UTC (rev 81193)
@@ -34,6 +34,7 @@
     if ! apt-cache show $pkg > /dev/null 2>&1 ; then
 	echo deb http://http.debian.net/debian $codename non-free \
 	    > /etc/apt/sources.list.d/$pkg.list
+	chmod a+r /etc/apt/sources.list.d/$pkg.list
 	apt-get -qq update
     fi
     apt-get -qq install -y $pkg
@@ -42,12 +43,14 @@
 acpi_backlight_vendor() {
     append_if_missing /etc/default/grub \
 	'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT acpi_backlight=vendor"'
+    chmod a+r /etc/default/grub
     update-grub
 }
 
 i915_invert_brightness() {
     append_if_missing /etc/modprobe.d/i915.conf \
         "options i915 invert_brightness=1"
+    chmod a+r /etc/modprobe.d/i915.conf
     update-initramfs -u -k all
 }
 




More information about the debian-edu-commits mailing list