📄 post-install
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -