Commit e9177f1b authored by Christoffer Ackelman's avatar Christoffer Ackelman

Fixed pkg builds after e44b37b0

parent e44b37b0
...@@ -27,7 +27,7 @@ fi ...@@ -27,7 +27,7 @@ fi
{ {
let printout=0 let printout=0
while read line; do while read line; do
if [ "${line:0:9}" = "Package: " ]; then if [ "${line:0:9}" = "Package: " ]; then
package=${line#Package: } package=${line#Package: }
fi fi
if [ "${line:0:9}" = "Version: " ]; then if [ "${line:0:9}" = "Version: " ]; then
...@@ -49,12 +49,12 @@ fi ...@@ -49,12 +49,12 @@ fi
echo "Copyright 2005-${d:0:4} SSAB EMEA AB" echo "Copyright 2005-${d:0:4} SSAB EMEA AB"
echo "" echo ""
echo "This program is free software; you can redistribute it and/or" echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as" echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of" echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version." echo "the License, or (at your option) any later version."
echo "" echo ""
echo "This program is distributed in the hope that it will be useful" echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the" echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html" echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
...@@ -194,15 +194,3 @@ cp $pkgsrc/postinst $pkgroot/etc/pwr$ver ...@@ -194,15 +194,3 @@ cp $pkgsrc/postinst $pkgroot/etc/pwr$ver
tar -czf ../$packagename * tar -czf ../$packagename *
rm -r $pkgroot rm -r $pkgroot
...@@ -25,7 +25,7 @@ cp /usr/pwr$ver/$pwre_target/exp/cnf/user/pwrstart ~/ ...@@ -25,7 +25,7 @@ cp /usr/pwr$ver/$pwre_target/exp/cnf/user/pwrstart ~/
chmod a+x ~/pwrstart chmod a+x ~/pwrstart
cp /usr/pwr$ver/$pwre_target/exp/cnf/user/Proview.lnk $USERPROFILE/Desktop cp /usr/pwr$ver/$pwre_target/exp/cnf/user/Proview.lnk $USERPROFILE/Desktop
cp /usr/pwr$ver/$pwre_target/exp/cnf/user/proview_icon.ico $USERPROFILE/Download cp /usr/pwr$ver/$pwre_target/exp/cnf/user/proview_icon.ico $USERPROFILE/Download
#chmod u+s /usr/pwr$ver/$pwre_target/exp/exe/rt_ini #chmod u+s /usr/pwr$ver/$pwre_target/exp/exe/rt_ini
#chmod u+s /usr/pwr$ver/$pwre_target/exp/exe/rt_rtt #chmod u+s /usr/pwr$ver/$pwre_target/exp/exe/rt_rtt
#chmod u+s /usr/pwr$ver/$pwre_target/exp/exe/rt_xtt #chmod u+s /usr/pwr$ver/$pwre_target/exp/exe/rt_xtt
...@@ -87,9 +87,3 @@ if [ ! -e /usr/local/pwrp ]; then ...@@ -87,9 +87,3 @@ if [ ! -e /usr/local/pwrp ]; then
# chgrp pwrp /usr/local/pwrp # chgrp pwrp /usr/local/pwrp
# chmod g+w /usr/local/pwrp # chmod g+w /usr/local/pwrp
fi fi
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Default QCOM Bus Id # Default QCOM Bus Id
# #
qcomBusId 999 qcomBusId 999
# #
# Web directory # Web directory
# #
...@@ -12,7 +12,3 @@ webDirectory /var/www ...@@ -12,7 +12,3 @@ webDirectory /var/www
# Default privileges for SevXtt: Read, Admin or None # Default privileges for SevXtt: Read, Admin or None
# #
sevXttDefaultPriv Read sevXttDefaultPriv Read
PWR(1) Proview Manuals PWR(1) PWR(1) Proview Manuals PWR(1)
NAME NAME
pwr - start and stop Proview runtime environment pwr - start and stop Proview runtime environment
...@@ -25,4 +24,4 @@ AUTHOR ...@@ -25,4 +24,4 @@ AUTHOR
SEE ALSO SEE ALSO
pwr(5) pwr(5)
Proview Last change: Nov 2003 Proview Last change: Nov 2003
...@@ -74,15 +74,3 @@ cp $pkgsrc/postinst $pkgroot/etc/pwrdemo$ver ...@@ -74,15 +74,3 @@ cp $pkgsrc/postinst $pkgroot/etc/pwrdemo$ver
tar -czf ../$packagename * tar -czf ../$packagename *
rm -r $pkgroot rm -r $pkgroot
...@@ -68,11 +68,3 @@ if [ -e $USERPROFILE/Desktop ]; then ...@@ -68,11 +68,3 @@ if [ -e $USERPROFILE/Desktop ]; then
cp /usr/pwrp/pwrdemo$ver/cnf/ProviewDemo.lnk $USERPROFILE/Desktop cp /usr/pwrp/pwrdemo$ver/cnf/ProviewDemo.lnk $USERPROFILE/Desktop
cp /usr/pwrp/pwrdemo$ver/cnf/proview_icon.ico $USERPROFILE/Download cp /usr/pwrp/pwrdemo$ver/cnf/proview_icon.ico $USERPROFILE/Download
fi fi
...@@ -215,7 +215,6 @@ if ! grep -q "/etc/pwrrt/pwr start" /etc/rc.local; then ...@@ -215,7 +215,6 @@ if ! grep -q "/etc/pwrrt/pwr start" /etc/rc.local; then
EOF EOF
fi fi
# Create project # Create project
new_project=0 new_project=0
if [ ! -e $proot ]; then if [ ! -e $proot ]; then
...@@ -237,7 +236,7 @@ if [ ! -e $proot ]; then ...@@ -237,7 +236,7 @@ if [ ! -e $proot ]; then
chown -R pwrp $proot chown -R pwrp $proot
chgrp -R pwrp $proot chgrp -R pwrp $proot
fi fi
if [ ! -e $aroot/db ]; then if [ ! -e $aroot/db ]; then
...@@ -305,7 +304,6 @@ EOF ...@@ -305,7 +304,6 @@ EOF
EOF EOF
fi fi
if ! egrep -q "Alias[ ]+/pwr_doc/" /etc/apache2/apache2.conf; then if ! egrep -q "Alias[ ]+/pwr_doc/" /etc/apache2/apache2.conf; then
cat >> /etc/apache2/apache2.conf <<-EOF cat >> /etc/apache2/apache2.conf <<-EOF
...@@ -337,7 +335,6 @@ if [ -e /lib/udev/devices/pbus2 ]; then ...@@ -337,7 +335,6 @@ if [ -e /lib/udev/devices/pbus2 ]; then
chown pwrp:pwrp /lib/udev/devices/pbus2 chown pwrp:pwrp /lib/udev/devices/pbus2
fi fi
changes=0 changes=0
if [ $new_user -eq 1 ]; then if [ $new_user -eq 1 ]; then
changes=1 changes=1
...@@ -373,14 +370,3 @@ if [ $changes -ne 0 ]; then ...@@ -373,14 +370,3 @@ if [ $changes -ne 0 ]; then
echo "***********************************************************" echo "***********************************************************"
echo "" echo ""
fi fi
#!/bin/sh #!/bin/sh
set -e set -e
# Automatically added by dh_installdocs # Automatically added by dh_installdocs
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/pwrtest ]; then if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/pwrtest ]; then
rm -f /usr/doc/pwrtest rm -f /usr/doc/pwrtest
...@@ -16,7 +15,7 @@ echo -n "Do you wan't to remove project and users (y/n) [n] " ...@@ -16,7 +15,7 @@ echo -n "Do you wan't to remove project and users (y/n) [n] "
read remove_all read remove_all
if [ "$remove_all" = "y" ]; then if [ "$remove_all" = "y" ]; then
# Check that any user that is to be remoted isn't logged in # Check that any user that is to be remoted isn't logged in
set +e set +e
user_found=0 user_found=0
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Default QCOM Bus Id # Default QCOM Bus Id
# #
qcomBusId 517 qcomBusId 517
# #
# Web directory # Web directory
# #
...@@ -12,7 +12,3 @@ webDirectory /pwrp/common/web ...@@ -12,7 +12,3 @@ webDirectory /pwrp/common/web
# Default privileges for SevXtt: Read, Admin or None # Default privileges for SevXtt: Read, Admin or None
# #
sevXttDefaultPriv Read sevXttDefaultPriv Read
...@@ -30,7 +30,7 @@ create_killer() ...@@ -30,7 +30,7 @@ create_killer()
echo "#!/bin/bash" > $killer echo "#!/bin/bash" > $killer
echo "source /etc/pwrp_profile" >> $killer echo "source /etc/pwrp_profile" >> $killer
echo "umask 002" >> $killer echo "umask 002" >> $killer
echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "rs_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "rs_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "ra_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "ra_" | awk '{ print "kill -9 "$1}'`" >> $killer
...@@ -46,7 +46,7 @@ create_killer() ...@@ -46,7 +46,7 @@ create_killer()
echo " source $pwrp_exe/pwrp_stop.sh" >> $killer echo " source $pwrp_exe/pwrp_stop.sh" >> $killer
echo "fi" >> $killer echo "fi" >> $killer
echo "rm /tmp/pwr*\$PWR_BUS_ID" >> $killer echo "rm /tmp/pwr*\$PWR_BUS_ID" >> $killer
chmod a+rx $killer chmod a+rx $killer
if [ ! -e $killer ] ;then if [ ! -e $killer ] ;then
echo "$killer not writable, check permissions" echo "$killer not writable, check permissions"
...@@ -54,7 +54,6 @@ create_killer() ...@@ -54,7 +54,6 @@ create_killer()
fi fi
} }
pwr_start() pwr_start()
{ {
create_wrapper create_wrapper
...@@ -78,8 +77,8 @@ pwr_stop() ...@@ -78,8 +77,8 @@ pwr_stop()
if [ -e $pwrp_exe/pwrp_stop.sh ]; then if [ -e $pwrp_exe/pwrp_stop.sh ]; then
sudo -u pwrp source $pwrp_exe/pwrp_stop.sh sudo -u pwrp source $pwrp_exe/pwrp_stop.sh
fi fi
fi fi
while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done
} }
pwr_reload() pwr_reload()
...@@ -98,14 +97,14 @@ pwr_kill() ...@@ -98,14 +97,14 @@ pwr_kill()
$killer $killer
else else
sudo -u pwrp $killer sudo -u pwrp $killer
fi fi
} }
case "$1" case "$1"
in in
start) start)
echo "Start Proview Runtime Environment." echo "Start Proview Runtime Environment."
pwr_start pwr_start
echo "Done." echo "Done."
;; ;;
stop) stop)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.SH NAME .SH NAME
rt_rtt - Proview Runtime Terminal Tool rt_rtt - Proview Runtime Terminal Tool
.SH SYNOPSIS .SH SYNOPSIS
.B rt_rtt .B rt_rtt
[user] [script] [configuration] [user] [script] [configuration]
.SH DESCRIPTION .SH DESCRIPTION
Examine and navigate in the realtime database from a VT100 terminal. Examine and navigate in the realtime database from a VT100 terminal.
...@@ -24,17 +24,3 @@ A RttConfig object that configures the session. ...@@ -24,17 +24,3 @@ A RttConfig object that configures the session.
Written by cs. Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR rt_xtt(1) .BR rt_xtt(1)
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
.SH NAME .SH NAME
rt_xtt - Proview Operator Environment rt_xtt - Proview Operator Environment
.SH SYNOPSIS .SH SYNOPSIS
.B rt_xtt .B rt_xtt
[\fIOPTION\fR] [opplace] [\fIOPTION\fR] [opplace]
.SH DESCRIPTION .SH DESCRIPTION
The Proview Operator Environment contains a set of utitlities to display information The Proview Operator Environment contains a set of utitlities to display information
about the process and the Proview system: about the process and the Proview system:
.RS .RS
\- Operator window. \- Operator window.
.RE .RE
.RS .RS
\- Process Graphics drawn in the Ge editor. \- Process Graphics drawn in the Ge editor.
.RE .RE
.RS .RS
...@@ -36,7 +36,7 @@ The name of the OpPlace object for the operator place. ...@@ -36,7 +36,7 @@ The name of the OpPlace object for the operator place.
.HP .HP
\fB\-l\fR \fB\-l\fR
.IP .IP
Language. Language.
.RS .RS
en_us English en_us English
...@@ -72,10 +72,3 @@ Written by cs. ...@@ -72,10 +72,3 @@ Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR pwr(1), .BR pwr(1),
.BR rt_ini(1) .BR rt_ini(1)
...@@ -10,7 +10,6 @@ endif ...@@ -10,7 +10,6 @@ endif
.SUFFIXES: .SUFFIXES:
.PHONY : all init copy lib exe clean realclean \ .PHONY : all init copy lib exe clean realclean \
$(clean_ge) $(clean_ge)
...@@ -34,22 +33,22 @@ dirs : $(bld_dir)$(dir_ext) ...@@ -34,22 +33,22 @@ dirs : $(bld_dir)$(dir_ext)
$(bld_dir)$(dir_ext) : $(bld_dir)$(dir_ext) :
@ $(mkdir) -p $(mkdirflags) $(basename $@) @ $(mkdir) -p $(mkdirflags) $(basename $@)
$(bld_dir)/control_pwrrt : ../../../pwrrt/control $(bld_dir)/control_pwrrt : ../pwrrt/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrrt/build.sh @ ../pwrrt/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwr : ../../../pwr/control $(bld_dir)/control_pwr : ../pwr/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwr/build.sh @ ../pwr/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwrdemo : ../../../pwrdemo/control $(bld_dir)/control_pwrdemo : ../pwrdemo/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrdemo/build.sh @ ../pwrdemo/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwrsev : ../../../pwrsev/control $(bld_dir)/control_pwrsev : ../pwrsev/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrsev/build.sh @ ../pwrsev/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Startscript fr PWR av Ulf Ljungdahl # Startscript fr PWR av Ulf Ljungdahl
# #
#test -x /sbin/ipchains || exit 0 #test -x /sbin/ipchains || exit 0
#test -x /sbin/ipchains-restore || exit 0 #test -x /sbin/ipchains-restore || exit 0
#test -x /sbin/ipchains-save || exit 0 #test -x /sbin/ipchains-save || exit 0
...@@ -12,7 +11,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ...@@ -12,7 +11,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
. /etc/pwrp_profile . /etc/pwrp_profile
save () save ()
{ {
echo -n "Saving IP chains: " echo -n "Saving IP chains: "
...@@ -25,7 +23,7 @@ save () ...@@ -25,7 +23,7 @@ save ()
pwr_start() pwr_start()
{ {
$pwr_exe/rt_ini & $pwr_exe/rt_ini &
sleep 5 sleep 5
/usr/sbin/setrtprio `ps ax | grep "plc" | grep -v "grep" | awk '{ print $1}'` /usr/sbin/setrtprio `ps ax | grep "plc" | grep -v "grep" | awk '{ print $1}'`
} }
...@@ -66,7 +64,7 @@ pwr_stop() ...@@ -66,7 +64,7 @@ pwr_stop()
fi fi
rm /tmp/pwr*$PWR_BUS_ID rm /tmp/pwr*$PWR_BUS_ID
#rm -f /tmp/pwr* #rm -f /tmp/pwr*
#id=`ipcs -s | grep $user | awk '{print $2}'` #id=`ipcs -s | grep $user | awk '{print $2}'`
#id1=`echo $id | awk '{print $1}'` #id1=`echo $id | awk '{print $1}'`
...@@ -88,26 +86,26 @@ case "$1" ...@@ -88,26 +86,26 @@ case "$1"
in in
start) start)
echo "Startar PWR..." echo "Startar PWR..."
#if [ 'test -x ps aux | grep plc | grep -v grep' ] #if [ 'test -x ps aux | grep plc | grep -v grep' ]
# then # then
# echo "PWR kr, stoppar det frst.." # echo "PWR kr, stoppar det frst.."
# pwr_stop # pwr_stop
# fi # fi
pwr_start pwr_start
echo "Klar." echo "Klar."
;; ;;
stop) stop)
echo "Stoppar PWR..." echo "Stoppar PWR..."
pwr_stop pwr_stop
# if [ "${SAVEONCE}" != "yes" ] # if [ "${SAVEONCE}" != "yes" ]
# then # then
# save # save
# echo -n "ipchains-save" # echo -n "ipchains-save"
# else # else
# echo -n "Clearing IP chains:" # echo -n "Clearing IP chains:"
# fi # fi
echo "Klar" echo "Klar"
;; ;;
restart) restart)
......
...@@ -102,7 +102,6 @@ pwra_set_func() ...@@ -102,7 +102,6 @@ pwra_set_func()
} }
pwra_help_func() pwra_help_func()
{ {
...@@ -119,7 +118,6 @@ EOF ...@@ -119,7 +118,6 @@ EOF
} }
pwra_parse () pwra_parse ()
{ {
unamestr=`eval uname` unamestr=`eval uname`
......
...@@ -66,7 +66,7 @@ pwra_set_func() ...@@ -66,7 +66,7 @@ pwra_set_func()
echo "Unable to find project '$2'" echo "Unable to find project '$2'"
return return
fi fi
baseroot=`eval cat $pwra_db/pwr_projectlist.dat | grep "[[:<:]]"$basename"[[:>:]]" | grep "^"%base"[[:>:]]" | awk '{print $3}'` baseroot=`eval cat $pwra_db/pwr_projectlist.dat | grep "[[:<:]]"$basename"[[:>:]]" | grep "^"%base"[[:>:]]" | awk '{print $3}'`
if [ -z $baseroot ]; then if [ -z $baseroot ]; then
echo "Unable to find base '$2'" echo "Unable to find base '$2'"
...@@ -83,7 +83,7 @@ pwra_set_func() ...@@ -83,7 +83,7 @@ pwra_set_func()
fi fi
source $baseroot/$os/$hw/exp/exe/pwrp_env.sh set baseroot $baseroot source $baseroot/$os/$hw/exp/exe/pwrp_env.sh set baseroot $baseroot
source $baseroot/$os/$hw/exp/exe/pwrp_env.sh set project $project source $baseroot/$os/$hw/exp/exe/pwrp_env.sh set project $project
export PS1='\u@\h/$pwrp_projectname/-.\W> ' export PS1='\u@\h/$pwrp_projectname/-.\W> '
fi fi
return return
fi fi
...@@ -94,8 +94,7 @@ pwra_set_func() ...@@ -94,8 +94,7 @@ pwra_set_func()
fi fi
source $pwr_exe/pwrp_env.sh set $1 $2 $3 source $pwr_exe/pwrp_env.sh set $1 $2 $3
} }
pwra_help_func() pwra_help_func()
{ {
...@@ -113,7 +112,6 @@ EOF ...@@ -113,7 +112,6 @@ EOF
} }
pwra_parse () pwra_parse ()
{ {
unamestr=`eval uname` unamestr=`eval uname`
...@@ -131,7 +129,7 @@ pwra_parse () ...@@ -131,7 +129,7 @@ pwra_parse ()
if [ $machine != "x86_64" ]; then if [ $machine != "x86_64" ]; then
machine="x86" machine="x86"
fi fi
os="os_linux" os="os_linux"
hw="hw_"$machine hw="hw_"$machine
fi fi
......
...@@ -42,7 +42,6 @@ Menu DefaultWindowMenu ...@@ -42,7 +42,6 @@ Menu DefaultWindowMenu
Close _C Alt<Key>F4 f.kill Close _C Alt<Key>F4 f.kill
} }
!! !!
!! Default Key Bindings !! Default Key Bindings
!! !!
...@@ -72,7 +71,7 @@ Buttons DefaultButtonBindings ...@@ -72,7 +71,7 @@ Buttons DefaultButtonBindings
<Btn3Down> icon|frame f.post_wmenu <Btn3Down> icon|frame f.post_wmenu
<Btn3Down> root f.menu DefaultRootMenu <Btn3Down> root f.menu DefaultRootMenu
} }
!! !!
!! These are some example bindings that you might use if your !! These are some example bindings that you might use if your
!! keyboardFocusPolicy is "explicit". Note that to use these, you'll !! keyboardFocusPolicy is "explicit". Note that to use these, you'll
......
...@@ -27,7 +27,7 @@ fi ...@@ -27,7 +27,7 @@ fi
{ {
let printout=0 let printout=0
while read line; do while read line; do
if [ "${line:0:9}" = "Package: " ]; then if [ "${line:0:9}" = "Package: " ]; then
package=${line#Package: } package=${line#Package: }
fi fi
if [ "${line:0:9}" = "Version: " ]; then if [ "${line:0:9}" = "Version: " ]; then
...@@ -49,12 +49,12 @@ fi ...@@ -49,12 +49,12 @@ fi
echo "Copyright 2005-${d:0:4} SSAB EMEA AB" echo "Copyright 2005-${d:0:4} SSAB EMEA AB"
echo "" echo ""
echo "This program is free software; you can redistribute it and/or" echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as" echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of" echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version." echo "the License, or (at your option) any later version."
echo "" echo ""
echo "This program is distributed in the hope that it will be useful" echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the" echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html" echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
...@@ -205,15 +205,3 @@ else ...@@ -205,15 +205,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -120,9 +120,3 @@ if [ ! -e /usr/local/pwrp ]; then ...@@ -120,9 +120,3 @@ if [ ! -e /usr/local/pwrp ]; then
chgrp pwrp /usr/local/pwrp chgrp pwrp /usr/local/pwrp
chmod g+w /usr/local/pwrp chmod g+w /usr/local/pwrp
fi fi
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Default QCOM Bus Id # Default QCOM Bus Id
# #
qcomBusId 999 qcomBusId 999
# #
# Web directory # Web directory
# #
...@@ -12,7 +12,3 @@ webDirectory /var/www ...@@ -12,7 +12,3 @@ webDirectory /var/www
# Default privileges for SevXtt: Read, Admin or None # Default privileges for SevXtt: Read, Admin or None
# #
sevXttDefaultPriv Read sevXttDefaultPriv Read
PWR(1) Proview Manuals PWR(1) PWR(1) Proview Manuals PWR(1)
NAME NAME
pwr - start and stop Proview runtime environment pwr - start and stop Proview runtime environment
...@@ -25,4 +24,4 @@ AUTHOR ...@@ -25,4 +24,4 @@ AUTHOR
SEE ALSO SEE ALSO
pwr(5) pwr(5)
Proview Last change: Nov 2003 Proview Last change: Nov 2003
...@@ -93,15 +93,3 @@ else ...@@ -93,15 +93,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -74,11 +74,3 @@ if [ -e /home/pwrp/Desktop ]; then ...@@ -74,11 +74,3 @@ if [ -e /home/pwrp/Desktop ]; then
chown pwrp:pwrp /home/pwrp/Desktop/proviewdemo$ver.desktop chown pwrp:pwrp /home/pwrp/Desktop/proviewdemo$ver.desktop
chmod a+x /home/pwrp/Desktop/proviewdemo$ver.desktop chmod a+x /home/pwrp/Desktop/proviewdemo$ver.desktop
fi fi
...@@ -63,7 +63,6 @@ tar -xf $tarfile ...@@ -63,7 +63,6 @@ tar -xf $tarfile
rm $tarfile rm $tarfile
cd $currentdir cd $currentdir
# Copy adm files to cnf # Copy adm files to cnf
#echo "pwrp set base V${ver:0:1}.${ver:1:1}" >> $pkgroot/usr/pwr$ver/$pwre_target/exp/cnf/pwr_setup.sh #echo "pwrp set base V${ver:0:1}.${ver:1:1}" >> $pkgroot/usr/pwr$ver/$pwre_target/exp/cnf/pwr_setup.sh
...@@ -76,15 +75,3 @@ else ...@@ -76,15 +75,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -15,7 +15,6 @@ fi ...@@ -15,7 +15,6 @@ fi
aroot="/usr/pwrp/adm" aroot="/usr/pwrp/adm"
echo "Change owner of files to pwrp" echo "Change owner of files to pwrp"
chown -R pwrp /usr/pwr$ver chown -R pwrp /usr/pwr$ver
chgrp -R pwrp /usr/pwr$ver chgrp -R pwrp /usr/pwr$ver
...@@ -37,8 +36,3 @@ chmod u+s /usr/pwr$ver/$pwre_target/exp/exe/rt_rtt ...@@ -37,8 +36,3 @@ chmod u+s /usr/pwr$ver/$pwre_target/exp/exe/rt_rtt
# Change group to pwrp # Change group to pwrp
chmod a+w /usr/pwr$ver/$pwre_target/exp/load/*.dbs chmod a+w /usr/pwr$ver/$pwre_target/exp/load/*.dbs
...@@ -25,7 +25,7 @@ fi ...@@ -25,7 +25,7 @@ fi
{ {
let printout=0 let printout=0
while read line; do while read line; do
if [ "${line:0:9}" = "Package: " ]; then if [ "${line:0:9}" = "Package: " ]; then
package=${line#Package: } package=${line#Package: }
fi fi
if [ "${line:0:9}" = "Version: " ]; then if [ "${line:0:9}" = "Version: " ]; then
...@@ -47,12 +47,12 @@ fi ...@@ -47,12 +47,12 @@ fi
echo "Copyright 2005-${d:0:4} SSAB EMEA AB" echo "Copyright 2005-${d:0:4} SSAB EMEA AB"
echo "" echo ""
echo "This program is free software; you can redistribute it and/or" echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as" echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of" echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version." echo "the License, or (at your option) any later version."
echo "" echo ""
echo "This program is distributed in the hope that it will be useful" echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the" echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html" echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
...@@ -97,7 +97,6 @@ fi ...@@ -97,7 +97,6 @@ fi
pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwrrt pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwrrt
pkgsrc=$pwre_sroot/tools/pkg/deb/pwrrt pkgsrc=$pwre_sroot/tools/pkg/deb/pwrrt
# Create directories # Create directories
echo "-- Create package tree" echo "-- Create package tree"
mkdir -p $pkgroot/DEBIAN mkdir -p $pkgroot/DEBIAN
...@@ -189,4 +188,3 @@ else ...@@ -189,4 +188,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -7,7 +7,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/jdk ...@@ -7,7 +7,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/jdk
. /etc/pwrp_profile . /etc/pwrp_profile
gdh_start() gdh_start()
{ {
export LD_LIBRARY_PATH=$pwr_exe export LD_LIBRARY_PATH=$pwr_exe
...@@ -17,7 +16,7 @@ gdh_start() ...@@ -17,7 +16,7 @@ gdh_start()
sleep 2 sleep 2
sudo -u pwrp $pwr_exe/rt_webmonmh.sh & sudo -u pwrp $pwr_exe/rt_webmonmh.sh &
#su pwrp <java jpwr.rt.GdhServer & #su pwrp <java jpwr.rt.GdhServer &
#sudo -u pwrp java jpwr.rt.GdhServer & #sudo -u pwrp java jpwr.rt.GdhServer &
} }
...@@ -30,13 +29,13 @@ case "$1" ...@@ -30,13 +29,13 @@ case "$1"
in in
start) start)
echo "Startar GDH server..." echo "Startar GDH server..."
#if [ 'test -x ps aux | grep plc | grep -v grep' ] #if [ 'test -x ps aux | grep plc | grep -v grep' ]
# then # then
# echo "PWR kr, stoppar det frst.." # echo "PWR kr, stoppar det frst.."
# pwr_stop # pwr_stop
# fi # fi
gdh_start gdh_start
echo "Klar." echo "Klar."
;; ;;
stop) stop)
...@@ -62,6 +61,3 @@ case "$1" ...@@ -62,6 +61,3 @@ case "$1"
esac esac
exit 0 exit 0
...@@ -243,7 +243,7 @@ if [ ! -e $proot ]; then ...@@ -243,7 +243,7 @@ if [ ! -e $proot ]; then
chown -R pwrp $proot chown -R pwrp $proot
chgrp -R pwrp $proot chgrp -R pwrp $proot
chmod g+w $proot/common/log chmod g+w $proot/common/log
fi fi
if [ ! -e $aroot/db ]; then if [ ! -e $aroot/db ]; then
...@@ -307,7 +307,6 @@ EOF ...@@ -307,7 +307,6 @@ EOF
EOF EOF
fi fi
if ! egrep -q "Alias[ ]+/pwr_doc/" /etc/apache2/apache2.conf; then if ! egrep -q "Alias[ ]+/pwr_doc/" /etc/apache2/apache2.conf; then
cat >> /etc/apache2/apache2.conf <<-EOF cat >> /etc/apache2/apache2.conf <<-EOF
...@@ -355,9 +354,9 @@ BEGIN { ...@@ -355,9 +354,9 @@ BEGIN {
inserver = 0; inserver = 0;
done = 1; done = 1;
} }
else else
printf( "%s\n", $0); printf( "%s\n", $0);
} }
else else
printf( "%s\n", $0); printf( "%s\n", $0);
} }
...@@ -385,7 +384,6 @@ if [ -e /lib/udev/devices/pbus2 ]; then ...@@ -385,7 +384,6 @@ if [ -e /lib/udev/devices/pbus2 ]; then
chown pwrp:pwrp /lib/udev/devices/pbus2 chown pwrp:pwrp /lib/udev/devices/pbus2
fi fi
changes=0 changes=0
if [ $new_user -eq 1 ]; then if [ $new_user -eq 1 ]; then
changes=1 changes=1
...@@ -421,14 +419,3 @@ if [ $changes -ne 0 ]; then ...@@ -421,14 +419,3 @@ if [ $changes -ne 0 ]; then
echo "***********************************************************" echo "***********************************************************"
echo "" echo ""
fi fi
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Default QCOM Bus Id # Default QCOM Bus Id
# #
qcomBusId 517 qcomBusId 517
# #
# Web directory # Web directory
# #
...@@ -12,7 +12,3 @@ webDirectory /pwrp/common/web ...@@ -12,7 +12,3 @@ webDirectory /pwrp/common/web
# Default privileges for SevXtt: Read, Admin or None # Default privileges for SevXtt: Read, Admin or None
# #
sevXttDefaultPriv Read sevXttDefaultPriv Read
...@@ -40,7 +40,7 @@ create_killer() ...@@ -40,7 +40,7 @@ create_killer()
echo "#!/bin/bash" > $killer echo "#!/bin/bash" > $killer
echo "source /etc/pwrp_profile" >> $killer echo "source /etc/pwrp_profile" >> $killer
echo "umask 002" >> $killer echo "umask 002" >> $killer
echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "rs_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "rs_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "ra_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "ra_" | awk '{ print "kill -9 "$1}'`" >> $killer
...@@ -60,8 +60,8 @@ create_killer() ...@@ -60,8 +60,8 @@ create_killer()
stored_ifs=$IFS stored_ifs=$IFS
IFS=' ,' IFS=' ,'
while read appid appname appload apprun appfile appprio appdebug apparg; do while read appid appname appload apprun appfile appprio appdebug apparg; do
if [ -n "$appid" ] && [ "${appid:0:1}" != "#" ]; then if [ -n "$appid" ] && [ "${appid:0:1}" != "#" ]; then
if [ $appid != "pwr_neth" ] && if [ $appid != "pwr_neth" ] &&
[ $appid != "pwr_qmon" ] && [ $appid != "pwr_qmon" ] &&
[ $appid != "pwr_nacp" ] && [ $appid != "pwr_nacp" ] &&
[ $appid != "pwr_io" ] && [ $appid != "pwr_io" ] &&
...@@ -110,7 +110,6 @@ create_killer() ...@@ -110,7 +110,6 @@ create_killer()
fi fi
} }
pwr_start() pwr_start()
{ {
create_wrapper create_wrapper
...@@ -134,8 +133,8 @@ pwr_stop() ...@@ -134,8 +133,8 @@ pwr_stop()
if [ -e $pwrp_exe/pwrp_stop.sh ]; then if [ -e $pwrp_exe/pwrp_stop.sh ]; then
sudo -u pwrp source $pwrp_exe/pwrp_stop.sh sudo -u pwrp source $pwrp_exe/pwrp_stop.sh
fi fi
fi fi
while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done
} }
pwr_reload() pwr_reload()
...@@ -154,14 +153,14 @@ pwr_kill() ...@@ -154,14 +153,14 @@ pwr_kill()
$killer $killer
else else
sudo -u pwrp $killer sudo -u pwrp $killer
fi fi
} }
case "$1" case "$1"
in in
start) start)
echo "Start Proview Runtime Environment." echo "Start Proview Runtime Environment."
pwr_start pwr_start
echo "Done." echo "Done."
;; ;;
stop) stop)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.SH NAME .SH NAME
rt_rtt - Proview Runtime Terminal Tool rt_rtt - Proview Runtime Terminal Tool
.SH SYNOPSIS .SH SYNOPSIS
.B rt_rtt .B rt_rtt
[user] [script] [configuration] [user] [script] [configuration]
.SH DESCRIPTION .SH DESCRIPTION
Examine and navigate in the realtime database from a VT100 terminal. Examine and navigate in the realtime database from a VT100 terminal.
...@@ -24,17 +24,3 @@ A RttConfig object that configures the session. ...@@ -24,17 +24,3 @@ A RttConfig object that configures the session.
Written by cs. Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR rt_xtt(1) .BR rt_xtt(1)
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
.SH NAME .SH NAME
rt_xtt - Proview Operator Environment rt_xtt - Proview Operator Environment
.SH SYNOPSIS .SH SYNOPSIS
.B rt_xtt .B rt_xtt
[\fIOPTION\fR] [opplace] [\fIOPTION\fR] [opplace]
.SH DESCRIPTION .SH DESCRIPTION
The Proview Operator Environment contains a set of utitlities to display information The Proview Operator Environment contains a set of utitlities to display information
about the process and the Proview system: about the process and the Proview system:
.RS .RS
\- Operator window. \- Operator window.
.RE .RE
.RS .RS
\- Process Graphics drawn in the Ge editor. \- Process Graphics drawn in the Ge editor.
.RE .RE
.RS .RS
...@@ -36,7 +36,7 @@ The name of the OpPlace object for the operator place. ...@@ -36,7 +36,7 @@ The name of the OpPlace object for the operator place.
.HP .HP
\fB\-l\fR \fB\-l\fR
.IP .IP
Language. Language.
.RS .RS
en_us English en_us English
...@@ -72,10 +72,3 @@ Written by cs. ...@@ -72,10 +72,3 @@ Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR pwr(1), .BR pwr(1),
.BR rt_ini(1) .BR rt_ini(1)
...@@ -28,7 +28,7 @@ fi ...@@ -28,7 +28,7 @@ fi
{ {
let printout=0 let printout=0
while read line; do while read line; do
if [ "${line:0:9}" = "Package: " ]; then if [ "${line:0:9}" = "Package: " ]; then
package=${line#Package: } package=${line#Package: }
fi fi
if [ "${line:0:9}" = "Version: " ]; then if [ "${line:0:9}" = "Version: " ]; then
...@@ -50,12 +50,12 @@ fi ...@@ -50,12 +50,12 @@ fi
echo "Copyright 2005-${d:0:4} SSAB EMEA AB" echo "Copyright 2005-${d:0:4} SSAB EMEA AB"
echo "" echo ""
echo "This program is free software; you can redistribute it and/or" echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as" echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of" echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version." echo "the License, or (at your option) any later version."
echo "" echo ""
echo "This program is distributed in the hope that it will be useful" echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the" echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html" echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
...@@ -97,7 +97,6 @@ fi ...@@ -97,7 +97,6 @@ fi
pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwrsev pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwrsev
pkgsrc=$pwre_sroot/tools/pkg/$hw/pwrsev pkgsrc=$pwre_sroot/tools/pkg/$hw/pwrsev
# Create directories # Create directories
echo "-- Create package tree" echo "-- Create package tree"
mkdir -p $pkgroot/DEBIAN mkdir -p $pkgroot/DEBIAN
...@@ -188,4 +187,3 @@ else ...@@ -188,4 +187,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -50,7 +50,6 @@ else ...@@ -50,7 +50,6 @@ else
fi fi
if getent passwd pwrp > /dev/null; then if getent passwd pwrp > /dev/null; then
echo "-- user pwrp already exist" echo "-- user pwrp already exist"
else else
...@@ -216,7 +215,7 @@ if [ ! -e $proot ]; then ...@@ -216,7 +215,7 @@ if [ ! -e $proot ]; then
chown -R pwrp $proot chown -R pwrp $proot
chgrp -R pwrp $proot chgrp -R pwrp $proot
fi fi
if [ ! -e $aroot/db ]; then if [ ! -e $aroot/db ]; then
...@@ -261,14 +260,3 @@ if [ $changes -ne 0 ]; then ...@@ -261,14 +260,3 @@ if [ $changes -ne 0 ]; then
echo "***********************************************************" echo "***********************************************************"
echo "" echo ""
fi fi
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Default QCOM Bus Id # Default QCOM Bus Id
# #
qcomBusId 517 qcomBusId 517
# #
# Web directory # Web directory
# #
...@@ -12,5 +12,3 @@ webDirectory /pwrp/common/web ...@@ -12,5 +12,3 @@ webDirectory /pwrp/common/web
# Default privileges for SevXtt: Read, Admin or None # Default privileges for SevXtt: Read, Admin or None
# #
sevXttDefaultPriv Read sevXttDefaultPriv Read
...@@ -74,8 +74,3 @@ alias boot="/usr/bin/sudo /sbin/reboot" ...@@ -74,8 +74,3 @@ alias boot="/usr/bin/sudo /sbin/reboot"
if [ -e $pwrp_exe/profile ]; then if [ -e $pwrp_exe/profile ]; then
source $pwrp_exe/profile source $pwrp_exe/profile
fi fi
...@@ -30,7 +30,7 @@ create_killer() ...@@ -30,7 +30,7 @@ create_killer()
echo "#!/bin/bash" > $killer echo "#!/bin/bash" > $killer
echo "source /etc/pwrp_profile" >> $killer echo "source /etc/pwrp_profile" >> $killer
echo "umask 002" >> $killer echo "umask 002" >> $killer
echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "sev_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "sev_" | awk '{ print "kill -9 "$1}'`" >> $killer
...@@ -38,7 +38,7 @@ create_killer() ...@@ -38,7 +38,7 @@ create_killer()
echo "eval `ipcs -q|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm msg %s;", $2}'`" >> $killer echo "eval `ipcs -q|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm msg %s;", $2}'`" >> $killer
echo "eval `ipcs -m|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm shm %s;", $2}'`" >> $killer echo "eval `ipcs -m|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm shm %s;", $2}'`" >> $killer
echo "rm /tmp/pwr*\$PWR_BUS_ID" >> $killer echo "rm /tmp/pwr*\$PWR_BUS_ID" >> $killer
chmod a+rx $killer chmod a+rx $killer
if [ ! -e $killer ] ;then if [ ! -e $killer ] ;then
echo "$killer not writable, check permissions" echo "$killer not writable, check permissions"
...@@ -46,7 +46,6 @@ create_killer() ...@@ -46,7 +46,6 @@ create_killer()
fi fi
} }
pwr_start() pwr_start()
{ {
create_wrapper create_wrapper
...@@ -70,8 +69,8 @@ pwr_stop() ...@@ -70,8 +69,8 @@ pwr_stop()
if [ -e $pwrp_exe/pwrp_stop.sh ]; then if [ -e $pwrp_exe/pwrp_stop.sh ]; then
sudo -u pwrp source $pwrp_exe/pwrp_stop.sh sudo -u pwrp source $pwrp_exe/pwrp_stop.sh
fi fi
fi fi
while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done
} }
pwr_reload() pwr_reload()
...@@ -90,14 +89,14 @@ pwr_kill() ...@@ -90,14 +89,14 @@ pwr_kill()
$killer $killer
else else
sudo -u pwrp $killer sudo -u pwrp $killer
fi fi
} }
case "$1" case "$1"
in in
start) start)
echo "Start Proview Storage Environment." echo "Start Proview Storage Environment."
pwr_start pwr_start
echo "Done." echo "Done."
;; ;;
stop) stop)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.SH NAME .SH NAME
sev_xtt - Proview Storage Operator sev_xtt - Proview Storage Operator
.SH SYNOPSIS .SH SYNOPSIS
.B sev_xtt .B sev_xtt
[\fIOPTION\fR] [opplace] [\fIOPTION\fR] [opplace]
.SH DESCRIPTION .SH DESCRIPTION
The Proview Storage Operator Environment contains a set of utitlities to handle the The Proview Storage Operator Environment contains a set of utitlities to handle the
...@@ -17,7 +17,7 @@ The name of the OpPlace object for the operator place. ...@@ -17,7 +17,7 @@ The name of the OpPlace object for the operator place.
.HP .HP
\fB\-l\fR \fB\-l\fR
.IP .IP
Language. Language.
.RS .RS
en_us English en_us English
...@@ -41,10 +41,3 @@ Written by cs. ...@@ -41,10 +41,3 @@ Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR sevpwr(1), .BR sevpwr(1),
.BR sev_ini(1) .BR sev_ini(1)
...@@ -10,7 +10,6 @@ endif ...@@ -10,7 +10,6 @@ endif
.SUFFIXES: .SUFFIXES:
.PHONY : all init copy lib exe clean realclean \ .PHONY : all init copy lib exe clean realclean \
$(clean_ge) $(clean_ge)
...@@ -34,27 +33,27 @@ dirs : $(bld_dir)$(dir_ext) ...@@ -34,27 +33,27 @@ dirs : $(bld_dir)$(dir_ext)
$(bld_dir)$(dir_ext) : $(bld_dir)$(dir_ext) :
@ $(mkdir) -p $(mkdirflags) $(basename $@) @ $(mkdir) -p $(mkdirflags) $(basename $@)
$(bld_dir)/control_pwrrt : ../../../pwrrt/control $(bld_dir)/control_pwrrt : ../pwrrt/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrrt/build.sh @ ../pwrrt/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwr : ../../../pwr/control $(bld_dir)/control_pwr : ../pwr/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwr/build.sh @ ../pwr/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwrdemo : ../../../pwrdemo/control $(bld_dir)/control_pwrdemo : ../pwrdemo/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrdemo/build.sh @ ../pwrdemo/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwrsev : ../../../pwrsev/control $(bld_dir)/control_pwrsev : ../pwrsev/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrsev/build.sh @ ../pwrsev/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwrrpi : ../../../pwrrpi/control $(bld_dir)/control_pwrrpi : ../pwrrpi/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrrpi/build.sh @ ../pwrrpi/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Startscript fr PWR av Ulf Ljungdahl # Startscript fr PWR av Ulf Ljungdahl
# #
#test -x /sbin/ipchains || exit 0 #test -x /sbin/ipchains || exit 0
#test -x /sbin/ipchains-restore || exit 0 #test -x /sbin/ipchains-restore || exit 0
#test -x /sbin/ipchains-save || exit 0 #test -x /sbin/ipchains-save || exit 0
...@@ -12,7 +11,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ...@@ -12,7 +11,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
. /etc/pwrp_profile . /etc/pwrp_profile
save () save ()
{ {
echo -n "Saving IP chains: " echo -n "Saving IP chains: "
...@@ -25,7 +23,7 @@ save () ...@@ -25,7 +23,7 @@ save ()
pwr_start() pwr_start()
{ {
$pwr_exe/rt_ini & $pwr_exe/rt_ini &
sleep 5 sleep 5
/usr/sbin/setrtprio `ps ax | grep "plc" | grep -v "grep" | awk '{ print $1}'` /usr/sbin/setrtprio `ps ax | grep "plc" | grep -v "grep" | awk '{ print $1}'`
} }
...@@ -66,7 +64,7 @@ pwr_stop() ...@@ -66,7 +64,7 @@ pwr_stop()
fi fi
rm /tmp/pwr*$PWR_BUS_ID rm /tmp/pwr*$PWR_BUS_ID
#rm -f /tmp/pwr* #rm -f /tmp/pwr*
#id=`ipcs -s | grep $user | awk '{print $2}'` #id=`ipcs -s | grep $user | awk '{print $2}'`
#id1=`echo $id | awk '{print $1}'` #id1=`echo $id | awk '{print $1}'`
...@@ -88,26 +86,26 @@ case "$1" ...@@ -88,26 +86,26 @@ case "$1"
in in
start) start)
echo "Startar PWR..." echo "Startar PWR..."
#if [ 'test -x ps aux | grep plc | grep -v grep' ] #if [ 'test -x ps aux | grep plc | grep -v grep' ]
# then # then
# echo "PWR kr, stoppar det frst.." # echo "PWR kr, stoppar det frst.."
# pwr_stop # pwr_stop
# fi # fi
pwr_start pwr_start
echo "Klar." echo "Klar."
;; ;;
stop) stop)
echo "Stoppar PWR..." echo "Stoppar PWR..."
pwr_stop pwr_stop
# if [ "${SAVEONCE}" != "yes" ] # if [ "${SAVEONCE}" != "yes" ]
# then # then
# save # save
# echo -n "ipchains-save" # echo -n "ipchains-save"
# else # else
# echo -n "Clearing IP chains:" # echo -n "Clearing IP chains:"
# fi # fi
echo "Klar" echo "Klar"
;; ;;
restart) restart)
......
...@@ -10,7 +10,6 @@ Menu DefaultRootMenu ...@@ -10,7 +10,6 @@ Menu DefaultRootMenu
"RTT" f.exec "/usr/bin/X11/xterm -T RTT -e ~/.rtt_start &" "RTT" f.exec "/usr/bin/X11/xterm -T RTT -e ~/.rtt_start &"
"PSS-kort" f.exec "/usr/bin/X11/xterm -T PSS_Kort -e /usr/bin/minicom &" "PSS-kort" f.exec "/usr/bin/X11/xterm -T PSS_Kort -e /usr/bin/minicom &"
"Xterm" f.exec "/usr/bin/X11/xterm -T XTerm -sb -right &" "Xterm" f.exec "/usr/bin/X11/xterm -T XTerm -sb -right &"
"Klocka" f.exec "/usr/bin/X11/xclock &" "Klocka" f.exec "/usr/bin/X11/xclock &"
"Miniraknare" f.exec "/usr/bin/X11/xcalc &" "Miniraknare" f.exec "/usr/bin/X11/xcalc &"
...@@ -44,7 +43,6 @@ Menu DefaultWindowMenu ...@@ -44,7 +43,6 @@ Menu DefaultWindowMenu
Close _C Alt<Key>F4 f.kill Close _C Alt<Key>F4 f.kill
} }
!! !!
!! Default Key Bindings !! Default Key Bindings
!! !!
...@@ -74,7 +72,7 @@ Buttons DefaultButtonBindings ...@@ -74,7 +72,7 @@ Buttons DefaultButtonBindings
<Btn3Down> icon|frame f.post_wmenu <Btn3Down> icon|frame f.post_wmenu
<Btn3Down> root f.menu DefaultRootMenu <Btn3Down> root f.menu DefaultRootMenu
} }
!! !!
!! These are some example bindings that you might use if your !! These are some example bindings that you might use if your
!! keyboardFocusPolicy is "explicit". Note that to use these, you'll !! keyboardFocusPolicy is "explicit". Note that to use these, you'll
......
...@@ -42,7 +42,6 @@ Menu DefaultWindowMenu ...@@ -42,7 +42,6 @@ Menu DefaultWindowMenu
Close _C Alt<Key>F4 f.kill Close _C Alt<Key>F4 f.kill
} }
!! !!
!! Default Key Bindings !! Default Key Bindings
!! !!
...@@ -72,7 +71,7 @@ Buttons DefaultButtonBindings ...@@ -72,7 +71,7 @@ Buttons DefaultButtonBindings
<Btn3Down> icon|frame f.post_wmenu <Btn3Down> icon|frame f.post_wmenu
<Btn3Down> root f.menu DefaultRootMenu <Btn3Down> root f.menu DefaultRootMenu
} }
!! !!
!! These are some example bindings that you might use if your !! These are some example bindings that you might use if your
!! keyboardFocusPolicy is "explicit". Note that to use these, you'll !! keyboardFocusPolicy is "explicit". Note that to use these, you'll
......
...@@ -27,7 +27,7 @@ fi ...@@ -27,7 +27,7 @@ fi
{ {
let printout=0 let printout=0
while read line; do while read line; do
if [ "${line:0:9}" = "Package: " ]; then if [ "${line:0:9}" = "Package: " ]; then
package=${line#Package: } package=${line#Package: }
fi fi
if [ "${line:0:9}" = "Version: " ]; then if [ "${line:0:9}" = "Version: " ]; then
...@@ -49,12 +49,12 @@ fi ...@@ -49,12 +49,12 @@ fi
echo "Copyright 2005-${d:0:4} SSAB EMEA AB" echo "Copyright 2005-${d:0:4} SSAB EMEA AB"
echo "" echo ""
echo "This program is free software; you can redistribute it and/or" echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as" echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of" echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version." echo "the License, or (at your option) any later version."
echo "" echo ""
echo "This program is distributed in the hope that it will be useful" echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the" echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html" echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
...@@ -205,15 +205,3 @@ else ...@@ -205,15 +205,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -120,9 +120,3 @@ if [ ! -e /usr/local/pwrp ]; then ...@@ -120,9 +120,3 @@ if [ ! -e /usr/local/pwrp ]; then
chgrp pwrp /usr/local/pwrp chgrp pwrp /usr/local/pwrp
chmod g+w /usr/local/pwrp chmod g+w /usr/local/pwrp
fi fi
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Default QCOM Bus Id # Default QCOM Bus Id
# #
qcomBusId 999 qcomBusId 999
# #
# Web directory # Web directory
# #
...@@ -12,7 +12,3 @@ webDirectory /var/www ...@@ -12,7 +12,3 @@ webDirectory /var/www
# Default privileges for SevXtt: Read, Admin or None # Default privileges for SevXtt: Read, Admin or None
# #
sevXttDefaultPriv Read sevXttDefaultPriv Read
PWR(1) Proview Manuals PWR(1) PWR(1) Proview Manuals PWR(1)
NAME NAME
pwr - start and stop Proview runtime environment pwr - start and stop Proview runtime environment
...@@ -25,4 +24,4 @@ AUTHOR ...@@ -25,4 +24,4 @@ AUTHOR
SEE ALSO SEE ALSO
pwr(5) pwr(5)
Proview Last change: Nov 2003 Proview Last change: Nov 2003
...@@ -93,15 +93,3 @@ else ...@@ -93,15 +93,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -74,11 +74,3 @@ if [ -e /home/pwrp/Desktop ]; then ...@@ -74,11 +74,3 @@ if [ -e /home/pwrp/Desktop ]; then
chown pwrp:pwrp /home/pwrp/Desktop/proviewdemo$ver.desktop chown pwrp:pwrp /home/pwrp/Desktop/proviewdemo$ver.desktop
chmod a+x /home/pwrp/Desktop/proviewdemo$ver.desktop chmod a+x /home/pwrp/Desktop/proviewdemo$ver.desktop
fi fi
...@@ -25,7 +25,7 @@ fi ...@@ -25,7 +25,7 @@ fi
{ {
let printout=0 let printout=0
while read line; do while read line; do
if [ "${line:0:9}" = "Package: " ]; then if [ "${line:0:9}" = "Package: " ]; then
package=${line#Package: } package=${line#Package: }
fi fi
if [ "${line:0:9}" = "Version: " ]; then if [ "${line:0:9}" = "Version: " ]; then
...@@ -47,12 +47,12 @@ fi ...@@ -47,12 +47,12 @@ fi
echo "Copyright 2005-${d:0:4} SSAB EMEA AB" echo "Copyright 2005-${d:0:4} SSAB EMEA AB"
echo "" echo ""
echo "This program is free software; you can redistribute it and/or" echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as" echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of" echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version." echo "the License, or (at your option) any later version."
echo "" echo ""
echo "This program is distributed in the hope that it will be useful" echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the" echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html" echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
...@@ -97,7 +97,6 @@ fi ...@@ -97,7 +97,6 @@ fi
pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwrrt pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwrrt
pkgsrc=$pwre_sroot/tools/pkg/raspbian/pwrrt pkgsrc=$pwre_sroot/tools/pkg/raspbian/pwrrt
# Create directories # Create directories
echo "-- Create package tree" echo "-- Create package tree"
mkdir -p $pkgroot/DEBIAN mkdir -p $pkgroot/DEBIAN
...@@ -189,4 +188,3 @@ else ...@@ -189,4 +188,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -7,7 +7,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/jdk ...@@ -7,7 +7,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/jdk
. /etc/pwrp_profile . /etc/pwrp_profile
gdh_start() gdh_start()
{ {
export LD_LIBRARY_PATH=$pwr_exe export LD_LIBRARY_PATH=$pwr_exe
...@@ -17,7 +16,7 @@ gdh_start() ...@@ -17,7 +16,7 @@ gdh_start()
sleep 2 sleep 2
sudo -u pwrp $pwr_exe/rt_webmonmh.sh & sudo -u pwrp $pwr_exe/rt_webmonmh.sh &
#su pwrp <java jpwr.rt.GdhServer & #su pwrp <java jpwr.rt.GdhServer &
#sudo -u pwrp java jpwr.rt.GdhServer & #sudo -u pwrp java jpwr.rt.GdhServer &
} }
...@@ -30,13 +29,13 @@ case "$1" ...@@ -30,13 +29,13 @@ case "$1"
in in
start) start)
echo "Startar GDH server..." echo "Startar GDH server..."
#if [ 'test -x ps aux | grep plc | grep -v grep' ] #if [ 'test -x ps aux | grep plc | grep -v grep' ]
# then # then
# echo "PWR kr, stoppar det frst.." # echo "PWR kr, stoppar det frst.."
# pwr_stop # pwr_stop
# fi # fi
gdh_start gdh_start
echo "Klar." echo "Klar."
;; ;;
stop) stop)
...@@ -62,6 +61,3 @@ case "$1" ...@@ -62,6 +61,3 @@ case "$1"
esac esac
exit 0 exit 0
...@@ -243,7 +243,7 @@ if [ ! -e $proot ]; then ...@@ -243,7 +243,7 @@ if [ ! -e $proot ]; then
chown -R pwrp $proot chown -R pwrp $proot
chgrp -R pwrp $proot chgrp -R pwrp $proot
chmod g+w $proot/common/log chmod g+w $proot/common/log
fi fi
if [ ! -e $aroot/db ]; then if [ ! -e $aroot/db ]; then
...@@ -307,7 +307,6 @@ EOF ...@@ -307,7 +307,6 @@ EOF
EOF EOF
fi fi
if ! egrep -q "Alias[ ]+/pwr_doc/" /etc/apache2/apache2.conf; then if ! egrep -q "Alias[ ]+/pwr_doc/" /etc/apache2/apache2.conf; then
cat >> /etc/apache2/apache2.conf <<-EOF cat >> /etc/apache2/apache2.conf <<-EOF
...@@ -337,7 +336,6 @@ if [ -e /lib/udev/devices/pbus2 ]; then ...@@ -337,7 +336,6 @@ if [ -e /lib/udev/devices/pbus2 ]; then
chown pwrp:pwrp /lib/udev/devices/pbus2 chown pwrp:pwrp /lib/udev/devices/pbus2
fi fi
changes=0 changes=0
if [ $new_user -eq 1 ]; then if [ $new_user -eq 1 ]; then
changes=1 changes=1
...@@ -373,14 +371,3 @@ if [ $changes -ne 0 ]; then ...@@ -373,14 +371,3 @@ if [ $changes -ne 0 ]; then
echo "***********************************************************" echo "***********************************************************"
echo "" echo ""
fi fi
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Default QCOM Bus Id # Default QCOM Bus Id
# #
qcomBusId 1 qcomBusId 517
# #
# Web directory # Web directory
# #
...@@ -12,7 +12,3 @@ webDirectory /pwrp/common/web ...@@ -12,7 +12,3 @@ webDirectory /pwrp/common/web
# Default privileges for SevXtt: Read, Admin or None # Default privileges for SevXtt: Read, Admin or None
# #
sevXttDefaultPriv Read sevXttDefaultPriv Read
...@@ -40,7 +40,7 @@ create_killer() ...@@ -40,7 +40,7 @@ create_killer()
echo "#!/bin/bash" > $killer echo "#!/bin/bash" > $killer
echo "source /etc/pwrp_profile" >> $killer echo "source /etc/pwrp_profile" >> $killer
echo "umask 002" >> $killer echo "umask 002" >> $killer
echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "rs_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "rs_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "ra_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "ra_" | awk '{ print "kill -9 "$1}'`" >> $killer
...@@ -64,7 +64,6 @@ create_killer() ...@@ -64,7 +64,6 @@ create_killer()
fi fi
} }
pwr_start() pwr_start()
{ {
create_wrapper create_wrapper
...@@ -88,8 +87,8 @@ pwr_stop() ...@@ -88,8 +87,8 @@ pwr_stop()
if [ -e $pwrp_exe/pwrp_stop.sh ]; then if [ -e $pwrp_exe/pwrp_stop.sh ]; then
sudo -u pwrp source $pwrp_exe/pwrp_stop.sh sudo -u pwrp source $pwrp_exe/pwrp_stop.sh
fi fi
fi fi
while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done
} }
pwr_reload() pwr_reload()
...@@ -108,14 +107,14 @@ pwr_kill() ...@@ -108,14 +107,14 @@ pwr_kill()
$killer $killer
else else
sudo -u pwrp $killer sudo -u pwrp $killer
fi fi
} }
case "$1" case "$1"
in in
start) start)
echo "Start Proview Runtime Environment." echo "Start Proview Runtime Environment."
pwr_start pwr_start
echo "Done." echo "Done."
;; ;;
stop) stop)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.SH NAME .SH NAME
rt_rtt - Proview Runtime Terminal Tool rt_rtt - Proview Runtime Terminal Tool
.SH SYNOPSIS .SH SYNOPSIS
.B rt_rtt .B rt_rtt
[user] [script] [configuration] [user] [script] [configuration]
.SH DESCRIPTION .SH DESCRIPTION
Examine and navigate in the realtime database from a VT100 terminal. Examine and navigate in the realtime database from a VT100 terminal.
...@@ -24,17 +24,3 @@ A RttConfig object that configures the session. ...@@ -24,17 +24,3 @@ A RttConfig object that configures the session.
Written by cs. Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR rt_xtt(1) .BR rt_xtt(1)
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
.SH NAME .SH NAME
rt_xtt - Proview Operator Environment rt_xtt - Proview Operator Environment
.SH SYNOPSIS .SH SYNOPSIS
.B rt_xtt .B rt_xtt
[\fIOPTION\fR] [opplace] [\fIOPTION\fR] [opplace]
.SH DESCRIPTION .SH DESCRIPTION
The Proview Operator Environment contains a set of utitlities to display information The Proview Operator Environment contains a set of utitlities to display information
about the process and the Proview system: about the process and the Proview system:
.RS .RS
\- Operator window. \- Operator window.
.RE .RE
.RS .RS
\- Process Graphics drawn in the Ge editor. \- Process Graphics drawn in the Ge editor.
.RE .RE
.RS .RS
...@@ -36,7 +36,7 @@ The name of the OpPlace object for the operator place. ...@@ -36,7 +36,7 @@ The name of the OpPlace object for the operator place.
.HP .HP
\fB\-l\fR \fB\-l\fR
.IP .IP
Language. Language.
.RS .RS
en_us English en_us English
...@@ -72,10 +72,3 @@ Written by cs. ...@@ -72,10 +72,3 @@ Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR pwr(1), .BR pwr(1),
.BR rt_ini(1) .BR rt_ini(1)
...@@ -28,7 +28,7 @@ fi ...@@ -28,7 +28,7 @@ fi
{ {
let printout=0 let printout=0
while read line; do while read line; do
if [ "${line:0:9}" = "Package: " ]; then if [ "${line:0:9}" = "Package: " ]; then
package=${line#Package: } package=${line#Package: }
fi fi
if [ "${line:0:9}" = "Version: " ]; then if [ "${line:0:9}" = "Version: " ]; then
...@@ -50,12 +50,12 @@ fi ...@@ -50,12 +50,12 @@ fi
echo "Copyright 2005-${d:0:4} SSAB EMEA AB" echo "Copyright 2005-${d:0:4} SSAB EMEA AB"
echo "" echo ""
echo "This program is free software; you can redistribute it and/or" echo "This program is free software; you can redistribute it and/or"
echo "modify it under the terms of the GNU General Public License as" echo "modify it under the terms of the GNU General Public License as"
echo "published by the Free Software Foundation, either version 2 of" echo "published by the Free Software Foundation, either version 2 of"
echo "the License, or (at your option) any later version." echo "the License, or (at your option) any later version."
echo "" echo ""
echo "This program is distributed in the hope that it will be useful" echo "This program is distributed in the hope that it will be useful"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo "For more details, see the" echo "For more details, see the"
echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html" echo "GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
...@@ -97,7 +97,6 @@ fi ...@@ -97,7 +97,6 @@ fi
pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwrsev pkgroot=$pwre_broot/$pwre_target/bld/pkg/pwrsev
pkgsrc=$pwre_sroot/tools/pkg/$hw/pwrsev pkgsrc=$pwre_sroot/tools/pkg/$hw/pwrsev
# Create directories # Create directories
echo "-- Create package tree" echo "-- Create package tree"
mkdir -p $pkgroot/DEBIAN mkdir -p $pkgroot/DEBIAN
...@@ -188,4 +187,3 @@ else ...@@ -188,4 +187,3 @@ else
fi fi
rm -r $pkgroot rm -r $pkgroot
...@@ -50,7 +50,6 @@ else ...@@ -50,7 +50,6 @@ else
fi fi
if getent passwd pwrp > /dev/null; then if getent passwd pwrp > /dev/null; then
echo "-- user pwrp already exist" echo "-- user pwrp already exist"
else else
...@@ -216,7 +215,7 @@ if [ ! -e $proot ]; then ...@@ -216,7 +215,7 @@ if [ ! -e $proot ]; then
chown -R pwrp $proot chown -R pwrp $proot
chgrp -R pwrp $proot chgrp -R pwrp $proot
fi fi
if [ ! -e $aroot/db ]; then if [ ! -e $aroot/db ]; then
...@@ -261,14 +260,3 @@ if [ $changes -ne 0 ]; then ...@@ -261,14 +260,3 @@ if [ $changes -ne 0 ]; then
echo "***********************************************************" echo "***********************************************************"
echo "" echo ""
fi fi
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
# Default QCOM Bus Id # Default QCOM Bus Id
# #
qcomBusId 517 qcomBusId 517
# #
# Web directory # Web directory
# #
...@@ -12,5 +12,3 @@ webDirectory /pwrp/common/web ...@@ -12,5 +12,3 @@ webDirectory /pwrp/common/web
# Default privileges for SevXtt: Read, Admin or None # Default privileges for SevXtt: Read, Admin or None
# #
sevXttDefaultPriv Read sevXttDefaultPriv Read
...@@ -74,8 +74,3 @@ alias boot="/usr/bin/sudo /sbin/reboot" ...@@ -74,8 +74,3 @@ alias boot="/usr/bin/sudo /sbin/reboot"
if [ -e $pwrp_exe/profile ]; then if [ -e $pwrp_exe/profile ]; then
source $pwrp_exe/profile source $pwrp_exe/profile
fi fi
...@@ -30,7 +30,7 @@ create_killer() ...@@ -30,7 +30,7 @@ create_killer()
echo "#!/bin/bash" > $killer echo "#!/bin/bash" > $killer
echo "source /etc/pwrp_profile" >> $killer echo "source /etc/pwrp_profile" >> $killer
echo "umask 002" >> $killer echo "umask 002" >> $killer
echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "sev_" | awk '{ print "kill -9 "$1}'`" >> $killer echo "`ps ax | grep "sev_" | awk '{ print "kill -9 "$1}'`" >> $killer
...@@ -38,7 +38,7 @@ create_killer() ...@@ -38,7 +38,7 @@ create_killer()
echo "eval `ipcs -q|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm msg %s;", $2}'`" >> $killer echo "eval `ipcs -q|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm msg %s;", $2}'`" >> $killer
echo "eval `ipcs -m|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm shm %s;", $2}'`" >> $killer echo "eval `ipcs -m|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm shm %s;", $2}'`" >> $killer
echo "rm /tmp/pwr*\$PWR_BUS_ID" >> $killer echo "rm /tmp/pwr*\$PWR_BUS_ID" >> $killer
chmod a+rx $killer chmod a+rx $killer
if [ ! -e $killer ] ;then if [ ! -e $killer ] ;then
echo "$killer not writable, check permissions" echo "$killer not writable, check permissions"
...@@ -46,7 +46,6 @@ create_killer() ...@@ -46,7 +46,6 @@ create_killer()
fi fi
} }
pwr_start() pwr_start()
{ {
create_wrapper create_wrapper
...@@ -70,8 +69,8 @@ pwr_stop() ...@@ -70,8 +69,8 @@ pwr_stop()
if [ -e $pwrp_exe/pwrp_stop.sh ]; then if [ -e $pwrp_exe/pwrp_stop.sh ]; then
sudo -u pwrp source $pwrp_exe/pwrp_stop.sh sudo -u pwrp source $pwrp_exe/pwrp_stop.sh
fi fi
fi fi
while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done while [ "`ps aux | grep -v grep | grep rt_`" != "" ] ; do sleep 1; done
} }
pwr_reload() pwr_reload()
...@@ -90,14 +89,14 @@ pwr_kill() ...@@ -90,14 +89,14 @@ pwr_kill()
$killer $killer
else else
sudo -u pwrp $killer sudo -u pwrp $killer
fi fi
} }
case "$1" case "$1"
in in
start) start)
echo "Start Proview Storage Environment." echo "Start Proview Storage Environment."
pwr_start pwr_start
echo "Done." echo "Done."
;; ;;
stop) stop)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.SH NAME .SH NAME
sev_xtt - Proview Storage Operator sev_xtt - Proview Storage Operator
.SH SYNOPSIS .SH SYNOPSIS
.B sev_xtt .B sev_xtt
[\fIOPTION\fR] [opplace] [\fIOPTION\fR] [opplace]
.SH DESCRIPTION .SH DESCRIPTION
The Proview Storage Operator Environment contains a set of utitlities to handle the The Proview Storage Operator Environment contains a set of utitlities to handle the
...@@ -17,7 +17,7 @@ The name of the OpPlace object for the operator place. ...@@ -17,7 +17,7 @@ The name of the OpPlace object for the operator place.
.HP .HP
\fB\-l\fR \fB\-l\fR
.IP .IP
Language. Language.
.RS .RS
en_us English en_us English
...@@ -41,10 +41,3 @@ Written by cs. ...@@ -41,10 +41,3 @@ Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR sevpwr(1), .BR sevpwr(1),
.BR sev_ini(1) .BR sev_ini(1)
...@@ -10,7 +10,6 @@ endif ...@@ -10,7 +10,6 @@ endif
.SUFFIXES: .SUFFIXES:
.PHONY : all init copy lib exe clean realclean \ .PHONY : all init copy lib exe clean realclean \
$(clean_ge) $(clean_ge)
...@@ -33,22 +32,22 @@ dirs : $(bld_dir)$(dir_ext) ...@@ -33,22 +32,22 @@ dirs : $(bld_dir)$(dir_ext)
$(bld_dir)$(dir_ext) : $(bld_dir)$(dir_ext) :
@ $(mkdir) -p $(mkdirflags) $(basename $@) @ $(mkdir) -p $(mkdirflags) $(basename $@)
$(bld_dir)/control_pwrrt : ../../../pwrrt/control $(bld_dir)/control_pwrrt : ../pwrrt/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrrt/build.sh @ ../pwrrt/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwr : ../../../pwr/control $(bld_dir)/control_pwr : ../pwr/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwr/build.sh @ ../pwr/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwrdemo : ../../../pwrdemo/control $(bld_dir)/control_pwrdemo : ../pwrdemo/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrdemo/build.sh @ ../pwrdemo/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
$(bld_dir)/control_pwrsev : ../../../pwrsev/control $(bld_dir)/control_pwrsev : ../pwrsev/control
@ echo "build $(target)" @ echo "build $(target)"
@ ../../../pwrsev/build.sh @ ../pwrsev/build.sh
@ cp $(source) $(target) @ cp $(source) $(target)
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# Startscript fr PWR av Ulf Ljungdahl # Startscript fr PWR av Ulf Ljungdahl
# #
#test -x /sbin/ipchains || exit 0 #test -x /sbin/ipchains || exit 0
#test -x /sbin/ipchains-restore || exit 0 #test -x /sbin/ipchains-restore || exit 0
#test -x /sbin/ipchains-save || exit 0 #test -x /sbin/ipchains-save || exit 0
...@@ -12,7 +11,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ...@@ -12,7 +11,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
. /etc/pwrp_profile . /etc/pwrp_profile
save () save ()
{ {
echo -n "Saving IP chains: " echo -n "Saving IP chains: "
...@@ -25,7 +23,7 @@ save () ...@@ -25,7 +23,7 @@ save ()
pwr_start() pwr_start()
{ {
$pwr_exe/rt_ini & $pwr_exe/rt_ini &
sleep 5 sleep 5
/usr/sbin/setrtprio `ps ax | grep "plc" | grep -v "grep" | awk '{ print $1}'` /usr/sbin/setrtprio `ps ax | grep "plc" | grep -v "grep" | awk '{ print $1}'`
} }
...@@ -66,7 +64,7 @@ pwr_stop() ...@@ -66,7 +64,7 @@ pwr_stop()
fi fi
rm /tmp/pwr*$PWR_BUS_ID rm /tmp/pwr*$PWR_BUS_ID
#rm -f /tmp/pwr* #rm -f /tmp/pwr*
#id=`ipcs -s | grep $user | awk '{print $2}'` #id=`ipcs -s | grep $user | awk '{print $2}'`
#id1=`echo $id | awk '{print $1}'` #id1=`echo $id | awk '{print $1}'`
...@@ -88,26 +86,26 @@ case "$1" ...@@ -88,26 +86,26 @@ case "$1"
in in
start) start)
echo "Startar PWR..." echo "Startar PWR..."
#if [ 'test -x ps aux | grep plc | grep -v grep' ] #if [ 'test -x ps aux | grep plc | grep -v grep' ]
# then # then
# echo "PWR kr, stoppar det frst.." # echo "PWR kr, stoppar det frst.."
# pwr_stop # pwr_stop
# fi # fi
pwr_start pwr_start
echo "Klar." echo "Klar."
;; ;;
stop) stop)
echo "Stoppar PWR..." echo "Stoppar PWR..."
pwr_stop pwr_stop
# if [ "${SAVEONCE}" != "yes" ] # if [ "${SAVEONCE}" != "yes" ]
# then # then
# save # save
# echo -n "ipchains-save" # echo -n "ipchains-save"
# else # else
# echo -n "Clearing IP chains:" # echo -n "Clearing IP chains:"
# fi # fi
echo "Klar" echo "Klar"
;; ;;
restart) restart)
......
...@@ -10,7 +10,6 @@ Menu DefaultRootMenu ...@@ -10,7 +10,6 @@ Menu DefaultRootMenu
"RTT" f.exec "/usr/bin/X11/xterm -T RTT -e ~/.rtt_start &" "RTT" f.exec "/usr/bin/X11/xterm -T RTT -e ~/.rtt_start &"
"PSS-kort" f.exec "/usr/bin/X11/xterm -T PSS_Kort -e /usr/bin/minicom &" "PSS-kort" f.exec "/usr/bin/X11/xterm -T PSS_Kort -e /usr/bin/minicom &"
"Xterm" f.exec "/usr/bin/X11/xterm -T XTerm -sb -right &" "Xterm" f.exec "/usr/bin/X11/xterm -T XTerm -sb -right &"
"Klocka" f.exec "/usr/bin/X11/xclock &" "Klocka" f.exec "/usr/bin/X11/xclock &"
"Miniraknare" f.exec "/usr/bin/X11/xcalc &" "Miniraknare" f.exec "/usr/bin/X11/xcalc &"
...@@ -44,7 +43,6 @@ Menu DefaultWindowMenu ...@@ -44,7 +43,6 @@ Menu DefaultWindowMenu
Close _C Alt<Key>F4 f.kill Close _C Alt<Key>F4 f.kill
} }
!! !!
!! Default Key Bindings !! Default Key Bindings
!! !!
...@@ -74,7 +72,7 @@ Buttons DefaultButtonBindings ...@@ -74,7 +72,7 @@ Buttons DefaultButtonBindings
<Btn3Down> icon|frame f.post_wmenu <Btn3Down> icon|frame f.post_wmenu
<Btn3Down> root f.menu DefaultRootMenu <Btn3Down> root f.menu DefaultRootMenu
} }
!! !!
!! These are some example bindings that you might use if your !! These are some example bindings that you might use if your
!! keyboardFocusPolicy is "explicit". Note that to use these, you'll !! keyboardFocusPolicy is "explicit". Note that to use these, you'll
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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