Summary: | at system halt: /sbin/rc: return: can only `return' from a function or sourced script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sandy McArthur <Sandy> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | Lowest | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sandy McArthur
2002-04-10 00:50:27 UTC
I get this too... If I didn't have an off/on on my power supply it would be a PITA as it doesn't power down the machine Already fixed after report on irc. Changing the return to "exit 0" should do the trick. same problem here. And i changed return to "exit 0" and the machine still does not power down. At least the message "/sbin/rc: return: can only `return' from a function or sourced script" desapeared. If it do not power down, it means: 1) You did not compile some sort of power management into your kernel. 2) You should try ACPI if you have APM, or vice versa 3) There could be a bios problem with the current PM implementations in the kernel. 4) Something else, as I am not an expert on PM and shutdown issues. The "at system halt: /sbin/rc: return: can only `return' from a function or sourced script" issue is fixed. |