search for: shutdown_driver

Displaying 1 result from an estimated 1 matches for "shutdown_driver".

2008 Jan 12
1
"upsdrvctl shutdown" ignores "-u"
Hi again, it seems to me that "upsdrvctl shutdown" fails to pass the "-u" flag to the driver. See drivers/upsdrvctl.c:shutdown_driver(), and compare to start_driver() in the same file. This has been so since ancient history (I checked back to 1.5.0), so there must be a reason, but I can't think of any. I have a good reason for passing "-u root": at the time the shutdown script reaches power-off, most file systems,...