Browse Source

added devfs converting logic for the config file of the pbbuttons package

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1671 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
b730585a69
2 changed files with 15 additions and 1 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +14
    -1
      package/powerpc/pbbuttons/pbbuttons.conf

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -11,6 +11,7 @@
- updated gnome-themes (the real cause for the segfauls is the crux theme)
- added slightly cleaned and devfs-aware configuration files to mol (Mac-On-
Linux)
- added devfs converting logic for the config file of the pbbuttons package
*) 2003-10-31 (2.0.0-rc2 - 2.0.0-rc3)

+ 14
- 1
package/powerpc/pbbuttons/pbbuttons.conf

@ -20,5 +20,18 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
postmake="install_init pbbuttonsd $confdir/pbbuttonsd.init"
pbbuttons_pm(){
install_init pbbuttonsd $confdir/pbbuttonsd.init
echo "Modifing $confdir/pbbuttonsd.conf to be DevFS-aware ..."
cat $sysconfdir/pbbuttonsd.conf > $sysconfdir/pbbuttonsd.conf.tmp
sed -e s,/dev/hda\([0-9]\),/dev/discs/disc0/part\1, \
-e s,/dev/hda,/dev/discs/disc0/disc, \
-e s,/dev/mixer,/dev/sound/mixer, \
-e s,/dev/pmu,/dev/misc/pmu, \
$sysconfdir/pbbuttonsd.conf.tmp > $sysconfdir/pbbuttonsd.conf
rm $sysconfdir/pbbuttonsd.conf.tmp
}
postmake="pbbuttons_pm"

Loading…
Cancel
Save