亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? postuninstall.sh

?? 2000年7月,Borland(即現(xiàn)在的Inprise)公司公布了其數(shù)據(jù)庫(kù)產(chǎn)品Interbase的源代碼.Firebird數(shù)據(jù)庫(kù)就是從該數(shù)據(jù)庫(kù)中派生出來的.當(dāng)時(shí),Interbase是與客戶/服務(wù)器版本
?? SH
?? 第 1 頁 / 共 2 頁
字號(hào):
#!/bin/sh# posixLibrary.sh#!/bin/sh#------------------------------------------------------------------------# Global stuff initAnswer=""OrigPasswd=""TmpFile=""FBRootDir=/opt/firebirdexport FBRootDirFBBin=$FBRootDir/binexport FBBinSecurityDatabase=security2.fdbArchiveDateTag=`date +"%Y%m%d_%H%M"`export ArchiveDateTagArchiveMainFile="${FBRootDir}_${ArchiveDateTag}.tar.gz"export ArchiveMainFile#------------------------------------------------------------------------# Create temporary file. In case mktemp failed, do something...MakeTemp() {	TmpFile=`mktemp -q /tmp/firebird_install.XXXXXX`	if [ $? -ne 0 ]	then		TmpFile=/tmp/firebird_install		touch $TmpFile	fi}#------------------------------------------------------------------------# Prompt for response, store result in AnswerAskQuestion() {    Test=$1    DefaultAns=$2    echo -n "${1}"    Answer="$DefaultAns"    read Answer    if [ -z "$Answer" ]    then        Answer="$DefaultAns"    fi}#------------------------------------------------------------------------# Prompt for yes or no answer - returns non-zero for noAskYNQuestion() {    while echo -n "${*} (y/n): "    do        read answer rest        case $answer in        [yY]*)            return 0            ;;        [nN]*)            return 1            ;;        *)            echo "Please answer y or n"            ;;        esac    done}#------------------------------------------------------------------------# Run $1. If exit status is not zero, show output to user.runSilent() {	MakeTemp	$1 >$TmpFile 2>&1	if [ $? -ne 0 ]	then		cat $TmpFile		echo ""		rm -f $TmpFile		return 1	fi	rm -f $TmpFile	return 0}#------------------------------------------------------------------------# Check for a user, running install, to be rootcheckRootUser() {    if [ "`whoami`" != "root" ];      then        echo ""        echo "--- Stop ----------------------------------------------"        echo ""        echo "    You need to be 'root' user to do this change"        echo ""        exit 1    fi}#aliascheckInstallUser() {	checkRootUser}#------------------------------------------------------------------------#  resetInetdServer#  Works for both inetd and xinetdresetInetdServer() {	pid=`ps -efww | grep inetd | grep -v grep | awk '{print $2}'`    if [ "$pid" ]    then        kill -HUP $pid    fi}#------------------------------------------------------------------------# remove the xinetd config file(s)# take into account possible pre-firebird xinetd servicesremoveXinetdEntry() {	for i in `grep -l "service gds_db" /etc/xinetd.d/*`	do        rm -f $i    done}#------------------------------------------------------------------------# remove the line from inetd fileremoveInetdEntry() {    FileName=/etc/inetd.conf    oldLine=`grep "^gds_db" $FileName`    removeLineFromFile "$FileName" "$oldLine"}#------------------------------------------------------------------------#  Remove (x)inetd service entry and restart the service.#  Check to see if we have xinetd installed or plain inetd.  #  Install differs for each of them.removeInetdServiceEntry() {    if [ -d /etc/xinetd.d ]     then        removeXinetdEntry    elif [ -f /etc/inetd.conf ]	then        removeInetdEntry    fi    # make [x]inetd reload configuration	resetInetdServer}#------------------------------------------------------------------------#  check if it is runningcheckIfServerRunning() {    stopSuperServerIfRunning# Check is server is being actively used.    checkString=`ps -efww| egrep "\b(fbserver|fbguard)\b" |grep -v grep`    if [ ! -z "$checkString" ]    then        echo "An instance of the Firebird Super server seems to be running."        echo "Please quit all Firebird applications and then proceed."        exit 1    fi    checkString=`ps -efww| egrep "\b(fb_inet_server|gds_pipe)\b" |grep -v grep`    if [ ! -z "$checkString" ]    then        echo "An instance of the Firebird Classic server seems to be running."        echo "Please quit all Firebird applications and then proceed."        exit 1    fi# The following check for running interbase or firebird 1.0 servers.    checkString=`ps -efww| egrep "\b(ibserver|ibguard)\b" |grep -v grep`    if [ ! -z "$checkString" ]     then        echo "An instance of the Firebird/InterBase Super server seems to be running."         echo "(the ibserver or ibguard process was detected running on your system)"        echo "Please quit all Firebird applications and then proceed."        exit 1     fi    checkString=`ps -efww| egrep "\b(gds_inet_server|gds_pipe)\b" |grep -v grep`    if [ ! -z "$checkString" ]     then        echo "An instance of the Firebird/InterBase Classic server seems to be running."         echo "(the gds_inet_server or gds_pipe process was detected running on your system)"        echo "Please quit all Firebird applications and then proceed."         exit 1     fi	removeInetdServiceEntry	# Stop lock manager if it is the only thing running.    for i in `ps -efww | grep "fb_lock_mgr" | grep -v "grep" | awk '{print $2}' `	do        kill $i	done}#------------------------------------------------------------------------#  ask user to enter CORRECT original DBA passwordaskForOrigDBAPassword() {    OrigPasswd=""    while [ -z "$OrigPasswd" ]    do        AskQuestion "Please enter current password for SYSDBA user: "        OrigPasswd=$Answer        if ! runSilent "$FBBin/gsec -user sysdba -password $OrigPasswd -di"		then			OrigPasswd=""		fi	done}#------------------------------------------------------------------------#  Modify DBA password to value, asked from user. #  $1 may be set to original DBA password#  !! This routine is interactive !!askUserForNewDBAPassword() {	if [ -z $1 ]	then		askForOrigDBAPassword	else		OrigPasswd=$1	fi    NewPasswd=""    while [ -z "$NewPasswd" ]    do        AskQuestion "Please enter new password for SYSDBA user: "        NewPasswd=$Answer        if [ ! -z "$NewPasswd" ]        then            if ! runSilent "$FBBin/gsec -user sysdba -password $OrigPasswd -modify sysdba -pw $NewPasswd"            then				NewPasswd=""			fi		fi	done}#------------------------------------------------------------------------# add a line in the (usually) /etc/services or /etc/inetd.conf file# Here there are three cases, not found         => add#                             found & different => replace#                             found & same      => do nothing#                             replaceLineInFile() {    FileName="$1"    newLine="$2"    oldLine=`grep "$3" $FileName`    if [ -z "$oldLine" ]     then        echo "$newLine" >> "$FileName"    elif [ "$oldLine" != "$newLine"  ]    then		MakeTemp        grep -v "$oldLine" "$FileName" > "$TmpFile"        echo "$newLine" >> $TmpFile	    # The \n is needed, some /etc/services files are missing a trailing    	# line feed - MOD 12-Dec-2003		echo "" >>$TmpFile        cp $TmpFile $FileName && rm -f $TmpFile        echo "Updated $1"    fi}#------------------------------------------------------------------------# "edit" file $1 - replace line starting from $2 with $3# This should stop ed/ex/vim/"what else editor" battle.# I hope awk is present in any posix system? AP.editFile() {    FileName=$1    Starting=$2    NewLine=$3		AwkProgram="(\$1 == \"$Starting\") {\$0=\"$NewLine\"} {print \$0}"	MakeTemp	awk "$AwkProgram" <$FileName >$TmpFile && mv $TmpFile $FileName || rm -f $TmpFile}#------------------------------------------------------------------------# remove line from config file if it exists in it.removeLineFromFile() {    FileName=$1    oldLine=$2    if [ ! -z "$oldLine" ]     then        cat $FileName | grep -v "$oldLine" > ${FileName}.tmp        cp ${FileName}.tmp $FileName && rm -f ${FileName}.tmp    fi}#------------------------------------------------------------------------# Write new password to the /opt/firebird/SYSDBA.password filewriteNewPassword() {    NewPasswd=$1	DBAPasswordFile=$FBRootDir/SYSDBA.password	cat <<EOT >$DBAPasswordFile# Firebird generated password for user SYSDBA is:ISC_USER=sysdbaISC_PASSWD=$NewPasswdEOT    if [ $NewPasswd = "masterkey" ]    then        echo "# for install on `hostname` at time `date`" >> $DBAPasswordFile        echo "# You should change this password at the earliest oportunity" >> $DBAPasswordFile    else         echo "# generated on `hostname` at time `date`" >> $DBAPasswordFile    fi		cat <<EOT >>$DBAPasswordFile# Your password can be changed to a more suitable one using the# /opt/firebird/bin/changeDBAPassword.sh scriptEOT    chmod u=r,go= $DBAPasswordFile    # Only if we have changed the password from the default do we need    # to update the entry in the database    if [ $NewPasswd != "masterkey" ]    then        runSilent "$FBBin/gsec -user sysdba -password masterkey -modify sysdba -pw $NewPasswd"    fi}#------------------------------------------------------------------------#  Generate new sysdba password - this routine is used only in the #  rpm file not in the install script.generateNewDBAPassword() {    # openssl generates random data.	openssl </dev/null >/dev/null 2&>/dev/null    if [ $? -eq 0 ]    then        # We generate 20 random chars, strip any '/''s and get the first 8        NewPasswd=`openssl rand -base64 20 | tr -d '/' | cut -c1-8`    fi    # mkpasswd is a bit of a hassle, but check to see if it's there    if [ -z "$NewPasswd" ]    then        if [ -f /usr/bin/mkpasswd ]        then            NewPasswd=`/usr/bin/mkpasswd -l 8`        fi    fi	# On some systems the mkpasswd program doesn't appear and on others	# there is another mkpasswd which does a different operation.  So if	# the specific one isn't available then keep the original password.    if [ -z "$NewPasswd" ]    then        NewPasswd="masterkey"    fi    writeNewPassword $NewPasswd}#------------------------------------------------------------------------#  Change sysdba password.changeDBAPassword() {    if [ -z "$InteractiveInstall" ]      then        generateNewDBAPassword      else        askUserForNewDBAPassword masterkey    fi}#------------------------------------------------------------------------#  buildUninstallFile#  This will work only for the .tar.gz install and it builds an#  uninstall shell script.  The RPM system, if present, takes care of it's own.buildUninstallFile() {    cd "$origDir"    if [ ! -f manifest.txt ]  # Only exists if we are a .tar.gz install    then        return    fi    cp manifest.txt $FBRootDir/misc    cp -r scripts $FBRootDir/misc/    cp scripts/tarMainUninstall.sh $FBRootDir/bin/uninstall.sh}#------------------------------------------------------------------------# Remove if only a linkremoveIfOnlyAlink() {	Target=$1    if [ -L $Target ]    then        rm -f $Target    fi}#------------------------------------------------------------------------# re-link new file only if target is a link or missingsafeLink() {	Source=$1	Target=$2		removeIfOnlyAlink $Target    if [ ! -e $Target ]    then        ln -s $Source $Target    fi}#------------------------------------------------------------------------#  createLinksForBackCompatibility#  Create links for back compatibility to InterBase and Firebird1.0 #  linked systems.createLinksForBackCompatibility() {    # These two links are required for compatibility with existing ib programs    # If the program had been linked with libgds.so then this link is required    # to ensure it loads the fb equivalent.  Eventually these should be     # optional and in a seperate rpm install.  MOD 7-Nov-2002.	if [ "$1" ]	then		# Use library name from parameter		newLibrary=$FBRootDir/lib/$1	else	    # Use DefaultLibrary, set by appropriate install library    	newLibrary=$FBRootDir/lib/$DefaultLibrary.so	fi	safeLink $newLibrary /usr/lib/libgds.so	safeLink $newLibrary /usr/lib/libgds.so.0}#------------------------------------------------------------------------#  removeLinksForBackCompatibility#  Remove links for back compatibility to InterBase and Firebird1.0 #  linked systems.removeLinksForBackCompatibility() {    removeIfOnlyAlink /usr/lib/libgds.so    removeIfOnlyAlink /usr/lib/libgds.so.0}#------------------------------------------------------------------------#  For security reasons most files in firebird installation are#  root-owned and world-readable(executable) only (including firebird).#  For some files RunUser (firebird) must have write access - #  lock and log for examples.MakeFileFirebirdWritable() {    FileName=$1    chown $RunUser:$RunUser $FileName    chmod 0644 $FileName}#------------------------------------------------------------------------#  Set correct permissions for $FbRoot/doc treefixDocPermissions() {	cd $FBRootDir	for i in `find doc -print`; do		chown root:root $i		if [ -d $i ]; then			chmod 0755 $i		else			chmod 0644 $i		fi	done}#------------------------------------------------------------------------# Run process and check statusrunAndCheckExit() {    Cmd=$*    $Cmd    ExitCode=$?    if [ $ExitCode -ne 0 ]    then        echo "Install aborted: The command $Cmd "        echo "                 failed with error code $ExitCode"        exit $ExitCode

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美国av一区二区| 日本一区二区免费在线 | 国产精品每日更新在线播放网址| 中文字幕av资源一区| 亚洲在线视频免费观看| 久久精品国产免费看久久精品| 成av人片一区二区| 亚洲人成7777| 亚洲mv在线观看| 紧缚捆绑精品一区二区| 欧美亚洲一区二区在线观看| 久久久亚洲精品一区二区三区| 亚洲在线免费播放| 日韩一级在线观看| 一区二区三区在线免费| 成人黄色综合网站| 亚洲在线视频免费观看| 日韩精品专区在线影院观看| 亚洲成av人片在线观看| 日韩欧美久久一区| 成人午夜大片免费观看| 久久久久久久久久久久电影| caoporm超碰国产精品| 久久久久久久电影| 91偷拍与自偷拍精品| 久久亚洲私人国产精品va媚药| 强制捆绑调教一区二区| 欧美日韩一区二区三区四区五区| 亚洲视频中文字幕| 成人白浆超碰人人人人| 亚洲国产精品久久久久婷婷884| 91原创在线视频| 蜜桃视频一区二区三区| 中文字幕日韩精品一区| 99精品视频一区| 亚洲视频中文字幕| 欧美videossexotv100| 久久99久久精品欧美| 精品一区二区三区在线视频| 国产精品福利一区| av电影在线观看不卡| 三级影片在线观看欧美日韩一区二区 | 国产一区二区三区高清播放| 欧美一区二区三区在线电影| 亚洲gay无套男同| 国产日韩欧美一区二区三区乱码 | 国产一区二区三区黄视频| 亚洲免费视频中文字幕| 久久久综合视频| 91精选在线观看| 日韩不卡一二三区| 欧美一区二区三区精品| 一本久久a久久精品亚洲| 中文字幕在线观看一区| 欧美大片国产精品| 欧美日本一区二区三区| 久久99精品久久只有精品| 一区二区成人在线| 国产精品网站在线播放| 欧美成人精品3d动漫h| 在线视频观看一区| 老司机免费视频一区二区三区| 一区二区三区四区亚洲| 国产精品麻豆99久久久久久| 国产亚洲自拍一区| 日本久久一区二区| 蜜臀99久久精品久久久久久软件| 亚洲啪啪综合av一区二区三区| 国产欧美日韩精品a在线观看| 欧美成人精品二区三区99精品| 欧美日韩成人一区| 欧美日韩你懂得| 欧美性猛交xxxx乱大交退制版 | 色婷婷国产精品综合在线观看| 懂色中文一区二区在线播放| 国产精品久久毛片| 国产精品每日更新在线播放网址| 亚洲国产精品精华液ab| 久久久精品2019中文字幕之3| 久久影院午夜论| 2023国产精华国产精品| 亚洲一区二区三区中文字幕在线| 国产精品乱码一区二三区小蝌蚪| 欧美激情资源网| 中文字幕在线不卡视频| 中文字幕一区在线观看| 亚洲欧美日韩中文字幕一区二区三区| 中文字幕一区二区三区视频 | 色av成人天堂桃色av| 91丨porny丨国产| 色吊一区二区三区| 欧美精品一二三| 成人一区在线看| 99精品欧美一区二区三区综合在线| 高清shemale亚洲人妖| k8久久久一区二区三区| 色偷偷成人一区二区三区91 | 欧美高清精品3d| 欧美一区二区福利视频| 欧美精品一区二区在线观看| 色88888久久久久久影院野外| 在线日韩av片| 日韩欧美国产小视频| 久久众筹精品私拍模特| 中文字幕一区二区三区精华液| 亚洲精品综合在线| 国产精品不卡在线观看| 亚洲一区在线观看免费观看电影高清 | 成人影视亚洲图片在线| 色哟哟欧美精品| 欧美一区二区三区日韩| 日本一区二区综合亚洲| 亚洲一二三专区| 久久av中文字幕片| 99re热视频这里只精品 | 精品国产sm最大网站免费看| 极品少妇xxxx精品少妇偷拍 | 毛片av一区二区| gogogo免费视频观看亚洲一| 欧美精品一二三| 国产精品青草久久| 日韩影视精彩在线| av在线综合网| 日韩欧美中文字幕一区| 国产精品网站在线播放| 免费在线观看一区| 91麻豆视频网站| 26uuu精品一区二区| 亚洲影视在线播放| 成人激情免费视频| 欧美一级二级在线观看| 日韩美女久久久| 国产曰批免费观看久久久| 色妹子一区二区| 国产日韩精品一区| 秋霞影院一区二区| 在线观看91视频| 欧美韩日一区二区三区| 美腿丝袜在线亚洲一区| 欧美性视频一区二区三区| 国产喂奶挤奶一区二区三区| 日本午夜一区二区| 日本韩国欧美三级| 国产精品视频第一区| 黄一区二区三区| 捆绑变态av一区二区三区| 在线视频国产一区| 国产精品色在线观看| 狠狠色狠狠色综合| 91精品国产综合久久小美女| 亚洲在线观看免费视频| 91在线观看免费视频| 亚洲国产电影在线观看| 国产在线不卡视频| 欧美一区二区视频在线观看 | 99久久精品国产一区| 国产日韩欧美在线一区| 国产一区二区h| 欧美一级在线免费| 成人sese在线| 国产精品久久久一本精品| 国产成人午夜精品影院观看视频| 99热99精品| 国产精品久99| av亚洲精华国产精华| 日本一区二区三区在线不卡| 国产成人av电影在线播放| 久久亚洲捆绑美女| 国产精品一区二区久久不卡| 91福利资源站| 亚洲已满18点击进入久久| 色欧美乱欧美15图片| 亚洲综合视频在线观看| 欧美性色黄大片| 三级成人在线视频| 日韩一区二区电影在线| 老司机精品视频在线| 亚洲精品一线二线三线| 国产一区视频网站| 国产精品午夜免费| 91日韩一区二区三区| 亚洲国产综合91精品麻豆| 欧美日韩一区二区三区高清| 日韩影院在线观看| 精品奇米国产一区二区三区| 国产麻豆一精品一av一免费| 久久精品一区蜜桃臀影院| 不卡的av在线| 一个色综合av| 日韩午夜av电影| 国产电影一区在线| 亚洲男女一区二区三区| 欧美精品色一区二区三区| 男人的天堂久久精品| 久久久久国产精品免费免费搜索| 懂色中文一区二区在线播放| 一二三四社区欧美黄| 欧美一二三区在线观看| 高清久久久久久| 亚洲一区自拍偷拍|