Operating System - HP-UX
1821584 Members
3685 Online
109633 Solutions
New Discussion

want to change uname -r (change release output)

 
Clay Davis_1
New Member

want to change uname -r (change release output)

setuname -s will change the uname -s to whatever you want. However, I need to change the release number back from 11.11 to 11.00. I modified it in /etc/issue, rebooted and that didn't help. I tried setuname -r B.11.00 but that is an illegal command for setuname. Does anyone know the location of the file that contains the release number that uname -r goes and grabs? I'm installing an older code and it runs uname, sees that I have 11.11 and dies. Code is clunky and the startup script has uname in a gozillion different places. Any help is greatly appreciated!

--clay
1 REPLY 1
harry d brown jr
Honored Contributor

Re: want to change uname -r (change release output)

alias uname to return what you need. put the alias in from of the script starting, and have the alias return the desired string of 11.00.

live free or die
harry
Live Free or Die