~ubuntu-branches/ubuntu/oneiric/likewise-open/oneiric

« back to all changes in this revision

Viewing changes to domainjoin/scripts/domainjoin-cli

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-07-21 19:27:21 UTC
  • Revision ID: james.westby@ubuntu.com-20090721192721-aifhw8r9vu20k776
Tags: 4.1.2982-0ubuntu3
No-change rebuild against libkrb5-3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##
 
2
## Copyright (C) Centeris Corporation 2004-2007
 
3
## Copyright (C) Likewise Software    2007-2008
 
4
## All rights reserved.
 
5
## 
 
6
## This program is free software; you can redistribute it and/or modify
 
7
## it under the terms of the GNU General Public License as published by
 
8
## the Free Software Foundation; either version 2 of the License, or
 
9
## (at your option) any later version.
 
10
##
 
11
## This program is distributed in the hope that it will be useful,
 
12
## but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
## GNU General Public License for more details.
 
15
##
 
16
## You should have received a copy of the GNU General Public License
 
17
## along with this program.  If not, see <http:##www.gnu.org/licenses/>.
 
18
##
 
19
 
 
20
#!/bin/sh
 
21
 
 
22
PREFIX_DIR=/usr
 
23
 
 
24
export LD_LIBRARY_PATH
 
25
LD_LIBRARY_PATH=${PREFIX_DIR}/lib:${LD_LIBRARY_PATH}
 
26
 
 
27
#S7 Changes begin
 
28
osType=`uname`
 
29
if [ "SunOS" = "$osType" ]; then
 
30
        export PATH
 
31
        PATH=/opt/csw/bin:${PATH}
 
32
fi
 
33
#S7 Changes Ends
 
34
 
 
35
umask 022
 
36
exec ${PREFIX_DIR}/bin/lwi-domainjoin-cli "$@"