Commit c81a04a5 authored by Martin Pitt's avatar Martin Pitt Committed by Jeremy Bicha

Import Debian changes 1.3.0-2

sysfsutils (1.3.0-2) unstable; urgency=low

  * debian/sysfsutils.init: Replace $MNTPATH with hardcoded /sys since the -m
    option does not exist any more. Closes: #316013
parent 98ed86c0
sysfsutils (1.3.0-2) unstable; urgency=low
* debian/sysfsutils.init: Replace $MNTPATH with hardcoded /sys since the -m
option does not exist any more. Closes: #316013
-- Martin Pitt <mpitt@debian.org> Tue, 28 Jun 2005 23:18:08 +0200
sysfsutils (1.3.0-1) unstable; urgency=low
* New upstream release:
......
......@@ -5,8 +5,6 @@
CONFFILE=/etc/sysfs.conf
MNTPATH=$(/usr/bin/systool -m 2>/dev/null) || exit 0
[ -r "$CONFFILE" ] || exit 0
case "$1" in
......@@ -18,8 +16,8 @@ case "$1" in
$CONFFILE | (
while read key val; do
if [ "$key" -a "$val" ]; then
if [ -f $MNTPATH/$key ]; then
echo $val > $MNTPATH/$key
if [ -f /sys/$key ]; then
echo $val > /sys/$key
else
echo "unknown attribute $key"
fi
......
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