When I halt my box the last line, which is after "Power down" is: /sbin/rc: return: can only `return' from a function or sourced script Here's the package /sbin/rc is from: # qpkg -f /sbin/rc sys-apps/baselayout-1.7.7 * If you view the source to /sbin/rc and search for 'return' just before the 2nd match you'll find: "#should never get here". Well, I'd say it does. As far as I can tell this isn't critical to anything but I figure cosmetic bugs are worth reporting too.
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.