opensuse:pm-utils.git
7 years agoMake sure that we are root before trying to run dmidecode.
Victor Lowther [Sat, 5 Jul 2008 16:41:27 +0000 (11:41 -0500)]
Make sure that we are root before trying to run dmidecode.

7 years agoMake laptop-mode, readahead, and xfs_buffer only apply
Victor Lowther [Tue, 1 Jul 2008 00:08:44 +0000 (19:08 -0500)]
Make laptop-mode, readahead, and xfs_buffer only apply
when we are running on something that looks like a laptop.

"looks like a laptop" = dmidecode says that chassis type is Portable.

7 years agoMore comments to the power hooks.
Victor Lowther [Sun, 29 Jun 2008 17:07:22 +0000 (12:07 -0500)]
More comments to the power hooks.

Also added an environment variable that will (hopefully) tell us
what type of system we have.

7 years agoAdded comments to intel-audio-powersave and wireless
Victor Lowther [Sun, 29 Jun 2008 16:57:55 +0000 (11:57 -0500)]
Added comments to intel-audio-powersave and wireless

7 years agoRewrote the sched-powersave hook to eliminate redundancy.
Victor Lowther [Sun, 29 Jun 2008 16:42:16 +0000 (11:42 -0500)]
Rewrote the sched-powersave hook to eliminate redundancy.

7 years agoPower management for a couple of other subsystems
Victor Lowther [Sun, 29 Jun 2008 15:40:14 +0000 (10:40 -0500)]
Power management for a couple of other subsystems

7 years agoAdded some explanatory comments to the power hooks.
Victor Lowther [Sun, 29 Jun 2008 04:25:11 +0000 (23:25 -0500)]
Added some explanatory comments to the power hooks.

7 years agoRichard raised concerns about hard drive spindown.
Victor Lowther [Sat, 28 Jun 2008 16:38:28 +0000 (11:38 -0500)]
Richard raised concerns about hard drive spindown.

So the harddrive hook no longer tries to spin the drive down pending
some sort of consensus on the right thing to do to make the hard drive
save power.

In the mean time, though, just flat-out disable write caching on the
hard drive.  I know that there are barriers and flushes that the ATA layer
uses to ensure that data really is written to the disk, but hard drive cache
isn't battery backed.

7 years agoAdded basic laptop mode support to power.d
Victor Lowther [Sat, 28 Jun 2008 01:02:58 +0000 (20:02 -0500)]
Added basic laptop mode support to power.d

7 years agoAdd PKGBUILD for rudimentary Arch Linux support
Victor Lowther [Fri, 4 Jun 2010 16:13:06 +0000 (11:13 -0500)]
Add PKGBUILD for rudimentary Arch Linux support

7 years agoAutodetect sleep modules by default instead of forcing the kernel one.
Victor Lowther [Mon, 31 May 2010 23:52:19 +0000 (18:52 -0500)]
Autodetect sleep modules by default instead of forcing the kernel one.

7 years agoMake tuxonice methods chvt if using a userspace UI.
Victor Lowther [Mon, 31 May 2010 23:28:28 +0000 (18:28 -0500)]
Make tuxonice methods chvt if using a userspace UI.

Since we do not always chvt away from X before actually hibernating,
things may get nasty if both X and the userspace UI start drawing.

7 years agoTry falling back to standby suspend of mem is not available.
Dylan Smith [Mon, 31 May 2010 19:04:29 +0000 (14:04 -0500)]
Try falling back to standby suspend of mem is not available.

It saves less power, but is the only option available on some systems.

Thanks, Dylan Smith.

7 years agoMake service command executable.
Victor Lowther [Tue, 13 Apr 2010 03:07:54 +0000 (22:07 -0500)]
Make service command executable.

7 years agoREADME.native-quirk-db: Typo. s/though/through/
Paul Menzel [Mon, 12 Apr 2010 13:04:01 +0000 (15:04 +0200)]
README.native-quirk-db: Typo. s/though/through/

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
7 years agoMerge remote branch 'UPSTREAM/master'
Victor Lowther [Tue, 13 Apr 2010 03:00:09 +0000 (22:00 -0500)]
Merge remote branch 'UPSTREAM/master'

7 years agoAdd comments to the service command.
Victor Lowther [Tue, 13 Apr 2010 02:57:23 +0000 (21:57 -0500)]
Add comments to the service command.

7 years agoCreate a pm-utils local service command for distros that do not have one.
Victor Lowther [Sun, 11 Apr 2010 19:59:50 +0000 (14:59 -0500)]
Create a pm-utils local service command for distros that do not have one.

7 years agoModify make-deb to not bother with checking out the debian branch since we merged...
Victor Lowther [Sat, 10 Apr 2010 20:20:48 +0000 (15:20 -0500)]
Modify make-deb to not bother with checking out the debian branch since we merged it into
master

7 years agoMerge branch 'debian'
Victor Lowther [Sat, 10 Apr 2010 20:19:05 +0000 (15:19 -0500)]
Merge branch 'debian'

7 years agoLoad hook blacklist for power.d hooks
Chase Douglas [Fri, 19 Mar 2010 21:36:14 +0000 (17:36 -0400)]
Load hook blacklist for power.d hooks

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
7 years agoMove .spec.in file into master.
Victor Lowther [Fri, 19 Mar 2010 14:15:01 +0000 (09:15 -0500)]
Move .spec.in file into master.

We no longer require the rpm branch, and will drop it.

7 years agoon_ac_power: support UPower (new name for DeviceKit-power)
Michal Schmidt [Tue, 23 Feb 2010 13:57:05 +0000 (14:57 +0100)]
on_ac_power: support UPower (new name for DeviceKit-power)

DeviceKit-power got renamed to UPower and its D-Bus interface changed
accordingly.

Try UPower first in on_ac_power.
If it fails, try DeviceKit-power.
It if fails too, try hal.

Also update documentation.

Signed-off-by: Michael Biebl <mbiebl@gmail.com>
7 years agoOops, make-rpm should be executable.
Victor Lowther [Wed, 17 Mar 2010 20:21:55 +0000 (15:21 -0500)]
Oops, make-rpm should be executable.

7 years agoMove make-rpm from the rpm branch to here
Victor Lowther [Wed, 17 Mar 2010 20:19:20 +0000 (15:19 -0500)]
Move make-rpm from the rpm branch to here

7 years agoMove files instead of copyingthem when cleaning up.
Victor Lowther [Wed, 17 Mar 2010 20:11:30 +0000 (15:11 -0500)]
Move files instead of copyingthem when cleaning up.

7 years agoClean up after ourselves properly
Victor Lowther [Wed, 17 Mar 2010 20:06:50 +0000 (15:06 -0500)]
Clean up after ourselves properly

7 years agoMokve make-deb to the master branch
Victor Lowther [Wed, 17 Mar 2010 19:56:28 +0000 (14:56 -0500)]
Mokve make-deb to the master branch

7 years agoMove make-deb script from the debian branch to here.
Victor Lowther [Wed, 17 Mar 2010 19:55:11 +0000 (14:55 -0500)]
Move make-deb script from the debian branch to here.

7 years agoFix import-fdi-quirkdb
Victor Lowther [Mon, 15 Mar 2010 04:11:39 +0000 (23:11 -0500)]
Fix import-fdi-quirkdb

Magic foo_outof regex munging code was not working due to a deplorable lack of extglob.
Compaq biosen have some truly hideous identifiers.
Hmmm... lenovo fdi file seems to use slightly looser XML.

7 years agoBump docbook revision for the manpage sources to 4.5
Victor Lowther [Mon, 15 Mar 2010 02:50:14 +0000 (21:50 -0500)]
Bump docbook revision for the manpage sources to 4.5

7 years agoBump revision to 1.3.0
Victor Lowther [Mon, 15 Mar 2010 02:43:39 +0000 (21:43 -0500)]
Bump revision to 1.3.0

7 years agoMerge branch 'master' into pm-utils-1.3
Victor Lowther [Mon, 15 Mar 2010 02:41:53 +0000 (21:41 -0500)]
Merge branch 'master' into pm-utils-1.3

7 years agoFix a small typo ('lits') in pm-action.8
Michael Biebl [Mon, 15 Feb 2010 15:50:27 +0000 (16:50 +0100)]
Fix a small typo ('lits') in pm-action.8

Reported as Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567084

7 years agoSmall fix for 309fba58adaf8c57df6cb91411c81eae336e82dc
Michael Biebl [Sun, 14 Feb 2010 23:38:44 +0000 (00:38 +0100)]
Small fix for 309fba58adaf8c57df6cb91411c81eae336e82dc

7 years agoRename, for consistency's sake
Michael Biebl [Wed, 3 Feb 2010 21:19:31 +0000 (22:19 +0100)]
Rename, for consistency's sake

7 years agoFix typo in regexp, replacing ; char
Rafał Miłecki [Wed, 3 Feb 2010 20:27:27 +0000 (21:27 +0100)]
Fix typo in regexp, replacing ; char

Replace all occurences of ; not only the first one

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
7 years agofix alternatives matching in native quirks DB
Martin Pitt [Wed, 3 Feb 2010 19:34:58 +0000 (11:34 -0800)]
fix alternatives matching in native quirks DB

The native quirks DB separates alternatives with ';'. For regexp matching, turn
those into '|', so that they will actually match.

7 years agofix usage of find_native()
Martin Pitt [Wed, 3 Feb 2010 19:06:17 +0000 (11:06 -0800)]
fix usage of find_native()

98-video-quirk-db-handler expects find_native() to write the quirks to stdout,
so actually do write them there. This makes the native quirks work.

7 years agofix DMI attribute matching
Martin Pitt [Wed, 3 Feb 2010 01:40:14 +0000 (17:40 -0800)]
fix DMI attribute matching

canonicalize_dmivar() refused the valid property "system.firmware.release_date"
because of a missing '_' in the character filter.

7 years agochvt again when using nvidia binary driver
Victor Lowther [Fri, 25 Dec 2009 16:45:24 +0000 (10:45 -0600)]
chvt again when using nvidia binary driver

Certian newer nvidia binary drivers do not chvt in kernelspace, which
leads to reported lockups.  Go ahead and have them chvt in userspace again.

8 years agoBump revision to rc3
Victor Lowther [Mon, 14 Dec 2009 02:55:02 +0000 (20:55 -0600)]
Bump revision to rc3

8 years agoMerge branch 'pm-utils-1.3'
Victor Lowther [Mon, 14 Dec 2009 02:54:03 +0000 (20:54 -0600)]
Merge branch 'pm-utils-1.3'

8 years agoMerge is_set fix from 1.2 branch
Victor Lowther [Mon, 14 Dec 2009 02:53:45 +0000 (20:53 -0600)]
Merge is_set fix from 1.2 branch

8 years agoOops, the "simple" bugfix for is_set broke everything else.
Victor Lowther [Mon, 14 Dec 2009 02:52:05 +0000 (20:52 -0600)]
Oops, the "simple" bugfix for is_set broke everything else.

8 years agoFix silly typo in pm-action.xml
Victor Lowther [Fri, 11 Dec 2009 05:04:23 +0000 (23:04 -0600)]
Fix silly typo in pm-action.xml

8 years agoBump to pm-utils-1.3.0-rc2
Victor Lowther [Fri, 11 Dec 2009 05:02:25 +0000 (23:02 -0600)]
Bump to pm-utils-1.3.0-rc2

8 years agoBump to 1.2.7-rc1
Victor Lowther [Fri, 11 Dec 2009 05:01:31 +0000 (23:01 -0600)]
Bump to 1.2.7-rc1

8 years agoMerge branch 'pm-utils-1.3'
Victor Lowther [Fri, 11 Dec 2009 04:59:25 +0000 (22:59 -0600)]
Merge branch 'pm-utils-1.3'

8 years agoUse --quirk-test to override the usual sanity checks.
Victor Lowther [Fri, 11 Dec 2009 04:57:00 +0000 (22:57 -0600)]
Use --quirk-test to override the usual sanity checks.

This can be useful for testing to see if your system requires an unusual set
of quirks, but can also make your system crash in new and exciting ways across
suspend/resume.  You have been warned.

8 years agoUpdate 98-video-quirk-db-handler to reflect recent bug fixes
Victor Lowther [Fri, 11 Dec 2009 04:40:58 +0000 (22:40 -0600)]
Update 98-video-quirk-db-handler to reflect recent bug fixes

Some longstanding typos in the quirks were fixed in 98smart-kernel-video.
Update the new quirk handling machinery to take those fixes into account.

8 years agoMerge branch 'pm-utils-1.2' into pm-utils-1.3
Victor Lowther [Fri, 11 Dec 2009 04:37:05 +0000 (22:37 -0600)]
Merge branch 'pm-utils-1.2' into pm-utils-1.3

Conflicts:
pm/sleep.d/98smart-kernel-video

8 years agoMerge branch 'pm-utils-1.2'
Victor Lowther [Fri, 11 Dec 2009 04:36:18 +0000 (22:36 -0600)]
Merge branch 'pm-utils-1.2'

8 years agoFix pci-save vs save-pci related typos
Christian Krause [Fri, 11 Dec 2009 04:34:14 +0000 (22:34 -0600)]
Fix pci-save vs save-pci related typos

- fix wrong function calls to pci_restore and pci_save which did
not match the actual defined functions (restore_pci and save_pci)
- use the correct quirk parameter in "remove_paramters"
(use --quirk-save-pci instead of --quirk-pci-save)

8 years ago[PATCH] Fix vga-mode-3 typo in video hooks
Tormod Volden [Fri, 11 Dec 2009 03:58:38 +0000 (21:58 -0600)]
[PATCH] Fix vga-mode-3 typo in video hooks

We have been using vga-mode3 while the standard says vga-mode-3.
This might fix (or even break) some resume issues on hardware which did
not have any video quirks, since the option is set in
fdi/information/10freedesktop/99-video-quirk-default.fdi from hal-info.

http://bugs.freedesktop.org/show_bug.cgi?id=25334

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Victor Lowther <victor.lowther@gmail.com>
8 years agoFix bug# 25547, make pm-action options formatting correct.
Victor Lowther [Fri, 11 Dec 2009 03:39:01 +0000 (21:39 -0600)]
Fix bug# 25547, make pm-action options formatting correct.

8 years agoUpdated pm-action documentation to describe the new return values.
Victor Lowther [Tue, 8 Dec 2009 01:10:55 +0000 (19:10 -0600)]
Updated pm-action documentation to describe the new return values.

8 years agoTrack suspend/hibernate failures and exit accordingly.
Victor Lowther [Tue, 8 Dec 2009 01:02:35 +0000 (19:02 -0600)]
Track suspend/hibernate failures and exit accordingly.

It turns out that echo whatever >/sys/power/state will fail if
transitioning to that state fails.  If transitioning to the
reuested power state fails, pm-action will return an error code
greater or equal than 128.

8 years agoResolve bug# 25427
Victor Lowther [Sun, 6 Dec 2009 19:32:33 +0000 (13:32 -0600)]
Resolve bug# 25427

8 years agoUpdate revision to reflect rc status, and make manpage actually build.
Victor Lowther [Sun, 6 Dec 2009 03:50:19 +0000 (21:50 -0600)]
Update revision to reflect rc status, and make manpage actually build.

8 years agoUpdate import-fdi-quirkdb to make it a little more flexible.
Victor Lowther [Sun, 6 Dec 2009 03:29:01 +0000 (21:29 -0600)]
Update import-fdi-quirkdb to make it a little more flexible.

It now takes two optional arguments -- $1 is the location of the .fdi
quirks, and $2 is the place to put them.

8 years agoAdd reference to README.debugging in the pm-action manpage.
Victor Lowther [Sat, 5 Dec 2009 18:02:18 +0000 (12:02 -0600)]
Add reference to README.debugging in the pm-action manpage.

8 years agoBump revision number to 1.3.0
Victor Lowther [Sat, 5 Dec 2009 17:52:56 +0000 (11:52 -0600)]
Bump revision number to 1.3.0

8 years agoUpdated pm-action manpage to reflect recent changes.
Victor Lowther [Sat, 5 Dec 2009 17:51:33 +0000 (11:51 -0600)]
Updated pm-action manpage to reflect recent changes.

We have --store-quirks-as-lkw instead of --store-quirks-as-fdi, and
the default kernel methods have a suspend-hybrid implementation that
has a 900 second delay between suspending and hibernating.

8 years agoMerge branch 'profiling-support' into native-quirk-db
Victor Lowther [Sat, 5 Dec 2009 17:11:01 +0000 (11:11 -0600)]
Merge branch 'profiling-support' into native-quirk-db

8 years agoMerge branch 'master' into native-quirk-db
Victor Lowther [Sat, 5 Dec 2009 17:10:50 +0000 (11:10 -0600)]
Merge branch 'master' into native-quirk-db

8 years agoOops, spell nouveau correctly.
Victor Lowther [Wed, 2 Dec 2009 02:39:03 +0000 (20:39 -0600)]
Oops, spell nouveau correctly.

8 years agoAdd support for hibernate after suspend.
Victor Lowther [Tue, 1 Dec 2009 18:35:04 +0000 (12:35 -0600)]
Add support for hibernate after suspend.

Do this by adding a default suspend_hybrid sleep method. With the
default settings, we schedule an alarm for 15 minutes from now, suspend,
and hibernate if we wake up in 15 minutes.

8 years agoOops, actually cache the dmi variables again if we need to update
Victor Lowther [Tue, 1 Dec 2009 16:52:47 +0000 (10:52 -0600)]
Oops, actually cache the dmi variables again if we need to update
the last known working quirk.

8 years agoAdd some documentation on native quirk handling.
Victor Lowther [Tue, 1 Dec 2009 06:30:04 +0000 (00:30 -0600)]
Add some documentation on native quirk handling.

Also add the functionality the documentation mentions.

8 years agoClean up on_ac_power modifications.
Victor Lowther [Tue, 1 Dec 2009 04:50:39 +0000 (22:50 -0600)]
Clean up on_ac_power modifications.

Ugh, backticks.

8 years agoMerge branch 'master' into native-quirk-db
Victor Lowther [Tue, 1 Dec 2009 04:42:39 +0000 (22:42 -0600)]
Merge branch 'master' into native-quirk-db

Conflicts:
pm/sleep.d/98smart-kernel-video

98smart-kernel-video no longer exists, but we want the other fixups in the
master branch.

8 years agoSome final fixups to make the built-in video quirk database handling work.
Victor Lowther [Tue, 1 Dec 2009 00:18:31 +0000 (18:18 -0600)]
Some final fixups to make the built-in video quirk database handling work.

8 years agoOops, forgot up update Makefile.am
Victor Lowther [Mon, 30 Nov 2009 23:46:26 +0000 (17:46 -0600)]
Oops, forgot up update Makefile.am

8 years agosome documentation updates for DeviceKit-power
Martin Pitt [Wed, 25 Nov 2009 11:37:57 +0000 (12:37 +0100)]
some documentation updates for DeviceKit-power

https://bugs.freedesktop.org/show_bug.cgi?id=25274

8 years agopm-functions.in: Drop $CHASSIS_TYPE
Martin Pitt [Wed, 25 Nov 2009 11:35:28 +0000 (12:35 +0100)]
pm-functions.in: Drop $CHASSIS_TYPE

$CHASSIS_TYPE is not used anywhere in pm-utils itself, nor any third-party
pm-utils hook that I can see. It relies on a dmidecode map in hal which has
never really been robust, and it just seems generally obsolete nowadays.

Let's not proliferate that any further and just remove it entirely.

https://bugs.freedesktop.org/show_bug.cgi?id=25274

8 years agoon_ac_power: DeviceKit-power support
Martin Pitt [Wed, 25 Nov 2009 11:31:34 +0000 (12:31 +0100)]
on_ac_power: DeviceKit-power support

Try to contact DeviceKit-Power in on_ac_power, and if it succeeds, use that.
Otherwise fall back to hal.

https://bugs.freedesktop.org/show_bug.cgi?id=25274

8 years agoFix a typo in have_kms
Michael Biebl [Mon, 30 Nov 2009 08:51:41 +0000 (09:51 +0100)]
Fix a typo in have_kms

The nvidia driver is called "nouveau", not "noveau".
Thanks to Julien Cristau for spotting this.

8 years agoActaully add the new .fdi importing script.
Victor Lowther [Mon, 16 Nov 2009 17:07:39 +0000 (11:07 -0600)]
Actaully add the new .fdi importing script.

8 years agoExtract out the bits that handle translating .fdi files into their own
Victor Lowther [Mon, 16 Nov 2009 17:07:08 +0000 (11:07 -0600)]
Extract out the bits that handle translating .fdi files into their own
script.

Integrating video quirk db handling into pm-utils requires splitting out
database querying from database importing anyways.

8 years agoStart merging native quirk handling functionality into pm-utils
Victor Lowther [Mon, 16 Nov 2009 16:30:10 +0000 (10:30 -0600)]
Start merging native quirk handling functionality into pm-utils

8 years agoMake pm-utils handle video quirks natively
Victor Lowther [Mon, 16 Nov 2009 04:30:50 +0000 (22:30 -0600)]
Make pm-utils handle video quirks natively

Add video-quirk-db-handler, which knows how to read the video .fdi files,
translate them into a native format, and use that native format to find the
appropriate quirks for a given system.

This hook replaces 00auto-quirk and 98smart-kernel-video.

8 years agoBump to 1.2.6.1
Victor Lowther [Fri, 13 Nov 2009 03:28:55 +0000 (21:28 -0600)]
Bump to 1.2.6.1

Oops, broke smart non-KMS modesetting for Intel.

8 years agoAdd back have_smart_intel
Victor Lowther [Fri, 13 Nov 2009 03:26:22 +0000 (21:26 -0600)]
Add back have_smart_intel

We still need to consider the case where i915 is used with modesetting
disabled. So revert the have_smart_intel removal in
504faf0a0c31cbdbc03a608cf633d58f12e49eb7.  Thanks, mbiebl!

8 years agoMerge branch 'master' into pm-utils-1.2
Michael Biebl [Sun, 8 Nov 2009 16:10:57 +0000 (17:10 +0100)]
Merge branch 'master' into pm-utils-1.2

8 years agoFix typo in pm-action.8
Michael Biebl [Sun, 8 Nov 2009 16:09:19 +0000 (17:09 +0100)]
Fix typo in pm-action.8

Patch by Mario Lang.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540122

8 years agoDon't err out in maybe_deallocvt if there is no console state
Michael Biebl [Sun, 8 Nov 2009 16:05:18 +0000 (17:05 +0100)]
Don't err out in maybe_deallocvt if there is no console state

kpowersave pops up a window telling that an error "1" has occurred when
suspending to ram. The error "1" message is annoying and lacks meaning
to the user.

It's caused by maybe_deallocvt returning the ret_val of state_exists
when the tested (here: console) file isn't found. This absence of this file
seems not to do any harm therefore the escalation of the ret_val 1 is
deprecated.

Solution: just tell maybe_deallocvt to return 0 in the above case.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554959

8 years agoBump version number to 1.2.6
Victor Lowther [Sun, 8 Nov 2009 05:52:33 +0000 (23:52 -0600)]
Bump version number to 1.2.6

8 years agoMerge branch 'master' into pm-utils-1.2
Victor Lowther [Sun, 8 Nov 2009 05:51:04 +0000 (23:51 -0600)]
Merge branch 'master' into pm-utils-1.2

8 years agoMerge commit 'remotes/UPSTREAM/master'
Victor Lowther [Sun, 8 Nov 2009 05:26:39 +0000 (23:26 -0600)]
Merge commit 'remotes/UPSTREAM/master'

8 years agoMake kernel modesetting detection a little smarter.
Victor Lowther [Sun, 8 Nov 2009 05:21:45 +0000 (23:21 -0600)]
Make kernel modesetting detection a little smarter.

It turns out that the method we were using to detect kernel modesetting
support was not very accurate.  It turns out there is no bulletproof way
for us to tell if KMS is being used, but Michael Biebl found a way that
sucks less than out current method.  Hopefully the framebuffer drivers
will grow a flag in sysfs somewhere that tells us that KMS is in use.

8 years agoRevert "Fix a bashism ('==')"
Michael Biebl [Mon, 6 Jul 2009 18:22:52 +0000 (20:22 +0200)]
Revert "Fix a bashism ('==')"

This reverts commit f3821f3479a58a8453bf9219fb5933fd99b5c1a8.

The fix was actually bogus and a false-positive of checkbashisms.

8 years agoFix a bashism ('==')
Michael Biebl [Wed, 1 Jul 2009 15:33:08 +0000 (17:33 +0200)]
Fix a bashism ('==')

See Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530164

8 years agoFix syntax for shell configuration variables.
Michael Biebl [Wed, 1 Jul 2009 14:52:54 +0000 (16:52 +0200)]
Fix syntax for shell configuration variables.

See Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528726

8 years agoUpdate comment to reflect current state
Michael Biebl [Wed, 1 Jul 2009 14:51:52 +0000 (16:51 +0200)]
Update comment to reflect current state

8 years agoMake is_set checking more explicit
Victor Lowther [Sun, 14 Jun 2009 02:01:17 +0000 (21:01 -0500)]
Make is_set checking more explicit

If is_set is not one of the usual boolean values, return 2.

8 years agoUpdate places where we check for booleans to use is_set
Victor Lowther [Wed, 6 May 2009 23:34:11 +0000 (18:34 -0500)]
Update places where we check for booleans to use is_set

Suprisingly, there are not that many.

8 years agoAdd is_set function to make checking boolean variables easier.
Victor Lowther [Wed, 6 May 2009 23:14:07 +0000 (18:14 -0500)]
Add is_set function to make checking boolean variables easier.

The definition of a boolean variable is one that is set to "true", "yes" "1",
or that is set to the null value.

8 years agoFix a few typos in the documentation
Michael Biebl [Thu, 23 Apr 2009 15:15:33 +0000 (17:15 +0200)]
Fix a few typos in the documentation

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525253

8 years agoFix typo in have_kms()
Michael Biebl [Thu, 16 Apr 2009 22:23:46 +0000 (00:23 +0200)]
Fix typo in have_kms()

The function is correctly called add_parameters.
Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524243