No problem, that's the way it's supposed to work. Basically, /sbin/halt
can detect how it's called and react accordingly. It's a pretty common
tactic in scripting languages like Bash and Perl too.
--
Aaron Turner, Core Developer http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization http://www.linuxkb.org/
Because world domination requires quality open documentation.
aka: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
The difference between `Unstable' and `Usable' is only two characters: NT
On Sun, 26 Mar 2000 [EMAIL PROTECTED] wrote:
> Hi,all,
> There is an unclear problem with the file symbol link. In the
> SysVinit2.74, the command 'poweroff' and 'reboot' in /sbin are the
> same symbol link of '/sbin/halt', But their function is different .
> 'reboot' performs a task like 'shutdown -r now'and 'poweroff', 'halt'
> just is 'shutdown -h now'.
> Anybody can give me a clear interpretation ?
> Thanks for your help!
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.