OpenIndiana and Solaris port
This commit is contained in:
committed by
Jon Trulson
parent
42e891d9e7
commit
01d6c363fa
@@ -257,9 +257,13 @@ RestartInetd()
|
||||
|
||||
OLDPWD=`pwd`
|
||||
cd /
|
||||
if [ "$PLATFORM" = "sun" -o "$PLATFORM" = "usl" -o "$PLATFORM" = "uxp" ]
|
||||
if [ "$PLATFORM" = "usl" -o "$PLATFORM" = "uxp" ]
|
||||
then
|
||||
/usr/sbin/inetd -s
|
||||
elif [ "$PLATFORM" = "sun" ]
|
||||
then
|
||||
/usr/sbin/svcadm refresh svc:/network/inetd:default
|
||||
/usr/sbin/svcadm restart svc:/network/inetd:default
|
||||
elif [ "$PLATFORM" = "aix" ]
|
||||
then
|
||||
startsrc -s inetd >>$LOGFILE 2>&1
|
||||
@@ -601,7 +605,7 @@ XCOMM
|
||||
if [ "$PLATFORM" = "aix" ];
|
||||
then
|
||||
USER=`/bin/whoami`
|
||||
elif [ "$PLATFORM" = "sun" -o "$PLATFORM" = "usl" -o "$PLATFORM" = "uxp" ];
|
||||
elif [ "$PLATFORM" = "usl" -o "$PLATFORM" = "uxp" ];
|
||||
then
|
||||
USER=`/usr/ucb/whoami`
|
||||
else
|
||||
|
||||
@@ -108,7 +108,7 @@ fi
|
||||
if [ $PLATFORM = "aix" ];
|
||||
then
|
||||
USER=`/bin/whoami`
|
||||
elif [ $PLATFORM = "sun" -o $PLATFORM = "usl" -o $PLATFORM = "uxp" ];
|
||||
elif [ $PLATFORM = "usl" -o $PLATFORM = "uxp" ];
|
||||
then
|
||||
USER=`/usr/ucb/whoami`
|
||||
else
|
||||
|
||||
@@ -227,8 +227,6 @@ XCOMM ###############################################################
|
||||
|
||||
FixEtcInetdDotConf
|
||||
|
||||
FixEtcPamDotConf
|
||||
|
||||
HASH
|
||||
HASH create the /var/dt/tmp directory for the dtspcd
|
||||
HASH
|
||||
@@ -245,8 +243,6 @@ XCOMM ###############################################################
|
||||
|
||||
UnfixEtcInetdDotConf
|
||||
|
||||
UnfixEtcPamDotConf
|
||||
|
||||
RemoveMinFiles
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
@@ -270,7 +270,7 @@ DEFAULT_PRINTER="DtPrint"
|
||||
HASH
|
||||
HASH ConfigurePrintersDir
|
||||
HASH
|
||||
env LANG=C /usr/dt/bin/dtprintinfo -populate
|
||||
env LANG=C /usr/dt/bin/dtprintinfo -populate 2>/dev/null
|
||||
|
||||
HASH
|
||||
HASH Configure Xsession.d
|
||||
|
||||
Reference in New Issue
Block a user