⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 postinstall.txt

📁 firebird源代码
💻 TXT
字号:
#! /bin/sh#------------------------------------------------------------------------# add a service line in the (usually) /etc/services# Here there are three cases, not found         => add service line,#                             found             => do nothing#replaceLineInFile() {    FileName=$1    newLine=$2    oldLine=$3    if [ -z "$oldLine" ]      then        echo "$newLine" >> $FileName    fi}# Update /etc/servicesFileName=/etc/servicesnewLine="gds_db          3050/tcp  # InterBase Database Remote Protocol"oldLine=`grep "^gds_db" $FileName`replaceLineInFile "$FileName" "$newLine" "$oldLine"# Update rcX.d with Firebird initd entries# initd script for SuSE >= 7.2 is a part of RPM package# This is (I hope) right for RH and MDKif [ -e /etc/rc.d/init.d/functions ]; then    cp /opt/interbase/misc/firebird.init.d.mandrake /etc/rc.d/init.d/firebird    ln -s ../../etc/rc.d/init.d/firebird /usr/sbin/rcfirebirdelse# Generic...  if [ -d /etc/rc.d/init.d ]; then      cp /opt/interbase/misc/firebird.init.d.generic /etc/rc.d/init.d/firebird      ln -s ../../etc/rc.d/init.d/firebird /usr/sbin/rcfirebird  fifiif [ -x sbin/insserv ] ; then    sbin/insserv /etc/init.d/firebirdfiif [ -x sbin/chkconfig ] ; then    sbin/chkconfig --add firebirdfi# SuSE rc.config fillupif [ -x bin/fillup ] ; then  bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.firebirdelse  echo "ERROR: fillup not found."  echo "If you're using SuSE, this should not happen. Please compare"  echo "/etc/rc.config and /var/adm/fillup-templates/rc.config.firebird and update by hand."fi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -