[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remote control dual booting OSX / Debian




On Dec 7, 2005, at 5:34 PM, David Pye wrote:

On Wednesday 07 December 2005 17:16, Rich Johnson wrote:
<snip>

Debian version:  usage "sudo reboot-from <partition>"
reboot-from:
     $! /bin/sh
     nvsetenv reboot-device hd:$1,\\\\:tbxi
     shutdown -r now

OSX version:  usage "sudo reboot-from <partition>"
reboot-from:
     $!/bin/sh
     nvram boot-device=hd:$1,\\\\:tbxi
     shutdown -r now
<snip>

Surely you mean:

#! /bin/sh

?

I've not seen a $!, though I'm prepared to be told about it if it does exist!


OOPS! You're right. It makes for a good example of the risks of retyping rather that c-n-p!




Reply to: