Posted by: Anonymous
[ip: 83.44.164.91]
on October 16, 2008 11:47 AM
really nice.
My systems ask for the kernel as the first parameter of kexec (ubuntu hardy 8.04).
And some questions:
1-why doing all the uname if you don't know if kexec exists? Perhaps is better to have the if clause before everything else
2.using the locate could be very time consuming (perhaps you have 4 TB with 1 trillion files), perhaps is better to use "which" or tu check directly on /sbin /usr/sbin and /usr/local/sbin
Reboot like a racecar with kexec
Posted by: Anonymous [ip: 83.44.164.91] on October 16, 2008 11:47 AMMy systems ask for the kernel as the first parameter of kexec (ubuntu hardy 8.04).
And some questions:
1-why doing all the uname if you don't know if kexec exists? Perhaps is better to have the if clause before everything else
2.using the locate could be very time consuming (perhaps you have 4 TB with 1 trillion files), perhaps is better to use "which" or tu check directly on /sbin /usr/sbin and /usr/local/sbin
regards!
#