post-install
来自「firebird源代码」· 代码 · 共 77 行
TXT
77 行
#!/bin/shchown -R firebird:firebird $PREFIX/firebird# Turn everybody to read only.chmod -R o=r $PREFIX/firebird# Now fix up the mess.# fix up directories for i in `find $PREFIX/firebird -print` do FileName=$i if [ -d $FileName ] then chmod o=rx $FileName fi donecd $PREFIX/firebird/bin# all users can run everything.chmod o=rx * # SUID is needed for running server programs.for i in gds_lock_mgr gds_drop gds_inet_server do chmod ug+s $i done# Lock filescd $PREFIX/firebirdfor i in isc_init1 isc_lock1 isc_event1 do FileName=$i.`hostname` touch $FileName chmod uga=rw $FileName chown firebird:firebird $FileName donetouch interbase.logchmod ugo=rw interbase.log# make databases writable by allchmod ugo=rw examples/v5/*.gdbchmod ugo=rw help/*.gdbchmod ugo=rw isc4.gdb# remove any existing gds servicesh $SCRIPTDIR/rmservice# add the gds service and restart inetdsh $SCRIPTDIR/addservicekill -HUP `cat /var/run/inetd.pid`sed "s|%%PREFIX%%|$PREFIX|" $SCRIPTDIR/../pkg-messagecat <<EOF==========================================================!! NOTE !!As there are some oddities to the Firebird build process,it is likely you WILL NOT BE ABLE TO USE IT until youremove the semaphore created during the build process.Please read $PREFIX/firebird/RELNOTES for more information.==========================================================EOF
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?