deal-with-linux-large-uids-20020115
[openafs.git] / src / tests / OS-SOLARIS.pm
1 # This is -*- perl -*-
2
3 package OpenAFS::OS;
4
5 use strict;
6 use vars qw( @ISA @EXPORT $openafsinitcmd);
7 @ISA = qw(Exporter);
8 require Exporter;
9 @EXPORT = qw($openafsinitcmd);
10
11 # OS-specific configuration
12 $openafsinitcmd = {
13         'client-start'      => 'modload /usr/vice/etc/modload/libafs.nonfs.o; /usr/vice/etc/afsd -nosettime',
14         'client-stop'       => 'echo Solaris client cannot be stopped',
15         'client-forcestart' => 'modload /usr/vice/etc/modload/libafs.nonfs.o; /usr/vice/etc/afsd -nosettime',
16         'client-restart'    => 'echo Solaris client cannot be restarted',
17         'filesrv-start'     => '/usr/afs/bin/bosserver',
18         'filesrv-stop'      => '/usr/afs/bin/bos shutdown localhost -local -wait; pkill /usr/afs/bin/bosserver',
19         'filesrv-forcestart'=> '/usr/afs/bin/bosserver',
20         'filesrv-restart'   => '/usr/afs/bin/bos shutdown localhost -local -wait; pkill /usr/afs/bin/bosserver; sleep 1; /usr/afs/bin/bosserver',
21 };
22
23 1;