On Fri, Jul 07, 2006 at 09:14:58PM -0700, Andre Srinivasan wrote: > > When I editing /etc/powersave/disk, I created a backup by copying it > to disk-20060702. When /usr/lib/powersave/scripts/set_disk_settings > attempted to source /etc/powersave/disk, it sourced disk-20060702 > rather than disk.
i cannot imagine how this should have happened, unless the files were hardlinked, since the code is: $SYSCONF_DIR/disk and there is clearly no wildcard in there :-) You could try to stick something like "echo backup >> /tmp/foo" at the start of your backup config file and "echo the_real_thing >> /tmp/foo at the start of your /etc/powersave/disk and check the contents of /tmp/foo to verify which of the config files was really used. > I would have expected it to source /etc/powersave/disk. I suspect the > same is true for other config file sourcing. Looking at the scripts, i can not imagine how this should happen, since we do not use any wildcard matches for the config files, but there might of course be a bug hidden in there somewhere... -- Stefan Seyfried | "Please, just tell people QA / R&D Team Mobile Devices | to use KDE." SUSE LINUX Products GmbH, Nürnberg | -- Linus Torvalds _______________________________________________ powersave-devel mailing list [email protected] http://forge.novell.com/mailman/listinfo/powersave-devel
