This is a discussion on diff "linux" hpux within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi, I've never used HPUX before but am fairly strong in various Linux distros and have some Solaris experience ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I've never used HPUX before but am fairly strong in various Linux distros and have some Solaris experience also. I'll be doing some installations on an HPUX system sometime next week, and I'm curious if there's anything I should particular careful about? I will need to add a startup script, for RedHat Linux this is in /etc/init.d and I link from the rc3 runlevel directory. Is the approach somewhat the same on HPUX? Thanks, Morten |
| |||
| In article <1114092776.536270.295380@f14g2000cwb.googlegroups .com>, usenet@kikobu.com wrote: > > Hi, > > I've never used HPUX before but am fairly strong in various Linux > distros and have some Solaris experience also. > > I'll be doing some installations on an HPUX system sometime next week, > and I'm curious if there's anything I should particular careful about? > > I will need to add a startup script, for RedHat Linux this is in > /etc/init.d and I link from the rc3 runlevel directory. Is the approach > somewhat the same on HPUX? > On HP-UX, the init directory is /sbin/init.d and the run-level links are /sbin/rcN.d (i.e., /sbin/rc3.d). Configuration for init scripts goes in /etc/rc.config.d as opposed to /etc/sysconfig on Linux. Also, HP-UX runs "thru" run-levels, whereas Linux "jumps" run-levels. In other words, to get to run-level 3, you 1st go thru run-level 1 and 2... Otherwise, its pretty similar. Kevin -- Unix Guy Consulting, LLC Unix and Linux Automation, Shell, Perl and CGI scripting http://www.unix-guy.com |
| ||||
| Kevin Collins wrote: > On HP-UX, the init directory is /sbin/init.d and the run-level links are > /sbin/rcN.d (i.e., /sbin/rc3.d). Configuration for init scripts goes in > /etc/rc.config.d as opposed to /etc/sysconfig on Linux. > > Also, HP-UX runs "thru" run-levels, whereas Linux "jumps" run-levels. In other > words, to get to run-level 3, you 1st go thru run-level 1 and 2... > > Otherwise, its pretty similar. > > Kevin Also, there is a template file which you can base your new script on. /sbin/init.d/template. |