Commit 939bce0d authored by claes's avatar claes

Automatic start of MhServer

parent f7ce1b26
#/bin/bash
#
export LD_LIBRARY_PATH=$pwr_exe
export CLASSPATH=$pwr_lib/pwr_rt.jar:$pwr_lib/pwr_jop.jar
$jdk_home/java jpwr.rt.MhServer
......@@ -44,6 +44,8 @@ cp $pkgsrc/pwrp_profile $pkgroot/etc
chmod a+x $pkgroot/etc/pwrp_profile
cp $pkgsrc/pwr $pkgroot/etc/init.d
chmod a+x $pkgroot/etc/init.d/pwr
cp $pkgsrc/gdhserver $pkgroot/etc/init.d
chmod a+x $pkgroot/etc/init.d/gdhserver
# Man pages
mkdir -p $pkgroot/usr/share/man/man1
......
......@@ -111,6 +111,11 @@ if [ -e /etc/rc2.d/S90pwr ]; then
fi
ln -s /etc/init.d/pwr /etc/rc2.d/S90pwr
if [ -e /etc/rc2.d/S90gdhserver ]; then
rm /etc/rc2.d/S90gdhserver
fi
ln -s /etc/init.d/gdhserver /etc/rc2.d/S90gdhserver
# Create project
new_project=0
if [ ! -e $proot ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment