Hello,

after some time I actually restarted my notebook (otherwise only put it
to sleep), and hence only now noticed that sleepd's init-Script is still
broken.

After search in the BTS I also saw bug #388836, but I figured I once
again report it here and let you fight about who's fault it is. ;)

Everything's up-to-date, but just for the record:

[EMAIL PROTECTED]:~$ dpkg -l sleepd
[..]
ii  sleepd                       1.3.7
[EMAIL PROTECTED]:~$ dpkg -l lsb-base
[..]
ii  lsb-base                     3.1-19

[EMAIL PROTECTED]:~$ debsums -a lsb-base
/lib/lsb/init-functions                                                       OK
/usr/share/doc/lsb-base/copyright                                             OK
/usr/share/doc/lsb-base/README.Debian.gz                                      OK
/usr/share/doc/lsb-base/changelog.Debian.gz                                   OK
[EMAIL PROTECTED]:~$ debsums -a sleepd
/usr/sbin/sleepd                                                              OK
/usr/share/man/man8/sleepd.8.gz                                               OK
/usr/share/man/man1/sleepctl.1.gz                                             OK
/usr/share/doc/sleepd/TODO                                                    OK
/usr/share/doc/sleepd/copyright                                               OK
/usr/share/doc/sleepd/changelog.gz                                            OK
/usr/bin/sleepctl                                                             OK
/etc/init.d/sleepd                                                            OK
/etc/default/sleepd                                                       FAILED

[EMAIL PROTECTED]:~$ cat /etc/default/sleepd 
# This is a configuration file for /etc/init.d/sleepd.

# Parameters to pass to sleepd.
PARAMS="--ac-unused=0 --unused=600 --battery=5 
--sleep-command='/usr/sbin/hibernate -F 
/etc/hibernate/hibernate.conf.ram.sleepd'"
[EMAIL PROTECTED]:~$ su
Password: 
t43p:/home/spiney# /etc/init.d/sleepd restart
Stopping sleep daemon: sleepd.
Starting sleep daemon: sleepd/usr/sbin/sleepd: invalid option -- F
Usage: sleepd [-s command] [-d command] [-u n] [-U n] [-i n [-i n ..]] [-a] 
[-n] [-c n] [-b n] [-A]
t43p:/home/spiney# 

Removing the eval in front of start_daemon in line 33 fixes the problem.

Kind regards,
WK


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to