summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2007-03-16 20:29:57 +0000
committerRich Megginson <rmeggins@redhat.com>2007-03-16 20:29:57 +0000
commit91f0db2c73c5f207fa9a68a3282a4ab5c422643a (patch)
treec472de5b0a4b1e801917c81482c0f03512e80044 /lib
parent30ef36de95df4bedcd41a0470cccb45a553ba2c4 (diff)
downloadds-91f0db2c73c5f207fa9a68a3282a4ab5c422643a.tar.gz
ds-91f0db2c73c5f207fa9a68a3282a4ab5c422643a.tar.xz
ds-91f0db2c73c5f207fa9a68a3282a4ab5c422643a.zip
Resolves: bug 232684
Description: need initscripts for Solaris Reviewed by: nhosoi (Thanks!) Fix Description: I was able to mostly use the linux initscript. The biggest issue was that Solaris does not support bash for init scripts, so I had to convert all of the bash-isms to just use plain old Bourne shell syntax. I removed the grep for the pids and just used kill -0, so I don't need the pids list or pidof anymore. Solaris mounts /var/run in tmpfs (i.e. memory disk) which is removed upon reboot, so we have to create and set permission on /var/run if it doesn't exist. Solaris also doesn't provide a library of useful shell functions, so I had to define success() and failure() if they don't exist. Platforms tested: Solaris 9 Flag day: no Doc: Yes - we will need to document the init scripts.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions