Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
4a01e965
Commit
4a01e965
authored
Dec 08, 2008
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of pwrcvs:/data1/git/pwr
parents
0f4e59ad
bb2ed34f
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
206 additions
and
84 deletions
+206
-84
src/doc/man/en_us/installation_guide_deb.txt
src/doc/man/en_us/installation_guide_deb.txt
+53
-24
src/doc/man/en_us/installation_guide_fedora.txt
src/doc/man/en_us/installation_guide_fedora.txt
+45
-15
src/doc/man/en_us/installation_guide_ubuntu.txt
src/doc/man/en_us/installation_guide_ubuntu.txt
+52
-23
src/tools/pkg/deb/pwr/control
src/tools/pkg/deb/pwr/control
+8
-2
src/tools/pkg/deb/pwrdemo/control
src/tools/pkg/deb/pwrdemo/control
+2
-2
src/tools/pkg/deb/pwrrt/control
src/tools/pkg/deb/pwrrt/control
+9
-3
src/tools/pkg/deb/pwrsev/control
src/tools/pkg/deb/pwrsev/control
+6
-2
src/tools/pkg/rpm/pwrdemo/pwrdemo.spec
src/tools/pkg/rpm/pwrdemo/pwrdemo.spec
+8
-1
src/tools/pkg/rpm/pwrrt/build.sh
src/tools/pkg/rpm/pwrrt/build.sh
+6
-3
src/tools/pkg/rpm/pwrrt/pwrrt.spec
src/tools/pkg/rpm/pwrrt/pwrrt.spec
+4
-1
src/tools/pkg/rpm/pwrsev/build.sh
src/tools/pkg/rpm/pwrsev/build.sh
+6
-3
src/tools/pkg/rpm/pwrsev/pwrsev.spec
src/tools/pkg/rpm/pwrsev/pwrsev.spec
+7
-5
No files found.
src/doc/man/en_us/installation_guide_deb.txt
View file @
4a01e965
INSTALLATION GUIDE DEBIAN
-------------------------
Debian distribution: Debian
Sarge
Debian distribution: Debian
Lenny/Sid
System Requirements:
Platform: x86
Kernel: >= 2.6.6
glibc: >= 2.
3.6
Kernel: >= 2.6.
2
6
glibc: >= 2.
7.14
See specific package information below:
1. PACKAGE PWR4
4
1. PACKAGE PWR4
6
----------------
Dependencies:
GTK+ v2.0 (libgtk2.0)
Berkeley DB v4.3.29 (libdb4.3, libdb++4.3)
Alsa v1.0.11 (libasound2)
libgtk2.0-0 >= 2.12.11-4
libasound2 >= 1.0.16-2
libdb4.6 >= 4.6.21-11
libdb4.6++ >= 4.6.21-11
libmysqlclient15off >= 5.0.51a-15
g++ >= 4:4.3.2-2
Install with dpkg
...
...
@@ -26,7 +29,7 @@ dpkg doesn't check any dependency, and all the depedencies package has to be ins
Download your selected debian-package and install it as:
> dpkg -i pwr4
4_4.4
.x-x_i386.deb
> dpkg -i pwr4
6_4.6
.x-x_i386.deb
During installation the files will be unpacked and a user named 'pwrp'
belonging to a group with the same name 'pwrp' will be created.
...
...
@@ -53,11 +56,11 @@ Update apt with the new packages
Check that the packages are found
> apt-cache search pwr
pwr4
4
- Proview development and runtime environment package
pwrdemo4
4
- Proview Demo Project package
pwr4
6
- Proview development and runtime environment package
pwrdemo4
6
- Proview Demo Project package
Install
> apt-get install pwr4
4
> apt-get install pwr4
6
Getting started:
...
...
@@ -74,51 +77,52 @@ will help you taking the first steps.
Dependencies:
GTK+ v2.0 (libgtk2.0)
Berkeley DB v4.3.29 (libdb4.3)
Alsa v1.0.11 (libasound2)
libgtk2.0-0 >= 2.12.11-4
libasound2 >= 1.0.16-2
libdb4.6 >= 4.6.21-11
Download:
Download your selected debian-package and install it as:
> dpkg -i pwrrt_4.
4
.x-x_i386.deb
> dpkg -i pwrrt_4.
6
.x-x_i386.deb
Information:
The runtime package should be installed "stand-alone" without the pwr4
4
-package.
The runtime package should be installed "stand-alone" without the pwr4
6
-package.
A linux-system with the pwrrt-package is your control-system. Proview will be
started automatically at boot-time.
3. PACKAGE PWRDEMO4
4
3. PACKAGE PWRDEMO4
6
--------------------
The proview demo project is under construction and contains so far
a demo of the dynamics and components of the HMI.
The demo package installs a Proview project that contains a demo of
of the dynamics and components of the HMI, some application examples,
a level and a temperature control, and some examples of basecomponent.
Dependencies:
pwr4
4 V4.4
.x
pwr4
6 V4.6
.x
Download:
Download your selected debian-package and install with dpkg
> dpkg -i pwrdemo4
4_4.4
.x-x_i386.deb
> dpkg -i pwrdemo4
6_4.6
.x-x_i386.deb
or install with apt (see section 1)
> apt-get install pwrdemo4
4
> apt-get install pwrdemo4
6
Getting started:
Log in as user 'pwrp' (or "su - pwrp") with password 'pwrp'. On the user
'pwrp' a correct environment for working with Proview will be set up.
A demonstration project named pwrdemo4
4
is created.
A demonstration project named pwrdemo4
6
is created.
Attach to the project with
> sdf pwrdemo4
4
> sdf pwrdemo4
6
Start proview runtime environment with
...
...
@@ -133,6 +137,31 @@ Press the 'PwrDemo' button in the operator window.
Stop and reset the environment with
> . pwr_stop.sh
4. PACKAGE PWRSEV
-----------------
Install mysql-client and mysql-server.
Create a repository first and install with apt
> apt-get install pwrsev
Install with dpkg
-----------------
dbkg doesn't check any depedencies. You have to check that these packages are installed
libgtk2.0-0 >= 2.12.11-4
libasound2 >= 1.0.16-2
libdb4.6 >= 4.6.21-11
libmysqlclient15off >= 5.0.51a-15
> dpkg -i pwrsev_4.6.0-3_i386.deb
Information:
The storage environment package should be installed "stand-alone" without the
pwr46 or pwrrt package.
...
...
src/doc/man/en_us/installation_guide_fedora.txt
View file @
4a01e965
INSTALLATION GUIDE FEDORA
--------------------------
Release Fedora 10
System Requirements:
Platform: x86
Kernel
: >= 2.6.6
glibc
: >= 2.3.4
Kernel
>= 2.6.26.5
glibc
>= 2.9-2
Specific package information follow below:
1. PACKAGE PWR4
5
1. PACKAGE PWR4
6
----------------
Dependencies:
Berkeley DB v4.5
Alsa v1.0.14
alsa-lib >= 1.0.18-6
db4 >= 4.7.25-5
db4-cxx >= 4.7.25-5
gtk2 >= 2.14.4-3
mysql >= 5.0.67-2
gcc-c++ >= 4.3.2-7
Download:
Download your selected rpm-package and install it as:
rpm -Uvh pwr4
5_4.5.0-1
.fedora.i386.rpm
rpm -Uvh pwr4
6_4.6.0-3
.fedora.i386.rpm
During installation the files will be unpacked and a user named 'pwrp'
belonging to a group with the same name 'pwrp' will be created.
...
...
@@ -41,22 +48,23 @@ will help you taking the first steps.
Dependencies:
Berkeley DB v4.5
Alsa v1.0.14
alsa-lib >= 1.0.18-6
db4 >= 4.7.25-5
gtk2 >= 2.14.4-3
Download:
Download your selected rpm-package and install it as:
rpm -Uvh pwrrt_4.
5
.0-1.fedora.i386.rpm
rpm -Uvh pwrrt_4.
6
.0-1.fedora.i386.rpm
Information:
The runtime package should be installed "stand-alone" without the pwr4
5
-package.
The runtime package should be installed "stand-alone" without the pwr4
6
-package.
A linux-system with the pwrrt-package is your control-system. Proview will be
started automatically at boot-time.
3. PACKAGE PWRDEMO4
5
3. PACKAGE PWRDEMO4
6
--------------------
The proview demo project contains demo of HMI functions, component objects, and some
...
...
@@ -64,23 +72,23 @@ process control applications.
Dependencies:
pwr4
5 V4.5.0
pwr4
6 V4.6.0-3
Download:
Download your selected rpm-package and install it as:
rpm -Uvh pwrdemo4
5_4.5.0-1
.fedora.i386.deb
rpm -Uvh pwrdemo4
6_4.6.0-3
.fedora.i386.deb
Getting started:
Log in as user 'pwrp' (or "su - pwrp") with password 'pwrp'. On the user
'pwrp' a correct environment for working with Proview will be set up.
A demonstration project named pwrdemo4
5
is created.
A demonstration project named pwrdemo4
6
is created.
Attach to the project with
> sdf pwrdemo4
5
> sdf pwrdemo4
6
Start proview runtime environment with
...
...
@@ -92,4 +100,26 @@ Start the operator environment with
Press the 'PwrDemo' button in the operator window and
4. PACKAGE PWRSEV
-----------------
Install mysql and mysql-server.
Dependencies:
alsa-lib >= 1.0.18-6
db4 >= 4.7.25-5
gtk2 >= 2.14.4-3
mysql >= 5.0.67-2
Download:
Download your selected rpm-package and install it as:
rpm -Uvh pwrsev_4.6.0-1.fedora.i386.rpm
Information:
The storage environment package should be installed "stand-alone" without the
pwr46 or pwrrt package.
src/doc/man/en_us/installation_guide_ubuntu.txt
View file @
4a01e965
INSTALLATION GUIDE UBUNTU
-------------------------
Release Ubuntu 8.10
System Requirements:
Platform: x86
Kernel
: >= 2.6.6
glibc
: >= 2.5-0ubuntu14
Kernel
>= 2.6.27
glibc
>= 2.8-0ubuntu7
See specific package information below:
...
...
@@ -15,7 +17,7 @@ See specific package information below:
Install with apt
----------------
Create a repository first, see section
4
below
Create a repository first, see section
5
below
> apt-get install pwr45
...
...
@@ -23,13 +25,14 @@ Install with dpkg
-----------------
dbkg doesn't check any depedencies. You have to check that these packages are installed
libgtk2.0-0 (>= 2.10.11-0ubuntu3)
libasound2 (>= 1.0.13-1ubuntu5)
libdb4.4 (>=4.4.20-8ubuntu2)
libmysqlclient15off (>=5.0.38-0ubuntu1)
g++-4.1 (>=4.1.2-0ubuntu4)
libgtk2.0-0 >= 2.14.4-0ubuntu1
libasound2 >= 1.0.17a-0ubuntu4
libdb4.7 >= 4.7.25-3
libdb4.7++ >= 4.7.25-3
libmysqlclient15off >= 5.0.67-0ubuntu6)
g++-4.1 >= 4:4.3.1-1ubuntu2)
> dpkg -i pwrdemo4
5_4.5.0-1
ubuntu_i386.deb
> dpkg -i pwrdemo4
6_4.6.0-3
ubuntu_i386.deb
Getting started
---------------
...
...
@@ -45,17 +48,17 @@ will help you taking the first steps.
3. PACKAGE PWRDEMO45
--------------------
pwr4
5
has to be installed.
pwr4
6
has to be installed.
Install with apt
----------------
> apt-get install pwrdemo4
4
> apt-get install pwrdemo4
6
Install with dpkg
-----------------
> dpkg -i pwrdemo4
5_4.5.0-1
ubuntu_i386.deb
> dpkg -i pwrdemo4
6_4.6.0-3
ubuntu_i386.deb
Getting started
---------------
...
...
@@ -63,10 +66,10 @@ Getting started
Log in as user 'pwrp' (or "su - pwrp") with password 'pwrp'. On the user
'pwrp' a correct environment for working with Proview will be set up.
A demonstration project named pwrdemo4
5
is created.
A demonstration project named pwrdemo4
6
is created.
Attach to the project with
> sdf pwrdemo4
5
> sdf pwrdemo4
6
Start proview runtime environment with
...
...
@@ -85,7 +88,7 @@ Stop and reset the environment with
3. PACKAGE PWRRT
----------------
Create a repository first, see section
4
below
Create a repository first, see section
5
below
> apt-get install pwrrt
...
...
@@ -93,20 +96,46 @@ Install with dpkg
-----------------
dbkg doesn't check any depedencies. You have to check that these packages are installed
libgtk2.0-0
(>= 2.10.11-0ubuntu3)
libasound2
(>= 1.0.13-1ubuntu5)
libdb4.
4 (>=4.4.20-8ubuntu2)
libgtk2.0-0
>= 2.14.4-0ubuntu1
libasound2
>= 1.0.17a-0ubuntu4
libdb4.
7 >= 4.7.25-3
> dpkg -i pwrrt_4.
5.0-1
ubuntu_i386.deb
> dpkg -i pwrrt_4.
6.0-3
ubuntu_i386.deb
Information:
The runtime package should be installed "stand-alone" without the pwr4
5
-package.
The runtime package should be installed "stand-alone" without the pwr4
6
-package.
A linux-system with the pwrrt-package is your control- or HMI-system. Proview will be
started automatically at boot-time.
4. CREATE APT REPOSITORY
3. PACKAGE PWRSEV
----------------
Install mysql-client and mysql-server.
Create a repository first, see section 5 below
> apt-get install pwrsev
Install with dpkg
-----------------
dbkg doesn't check any depedencies. You have to check that these packages are installed
libgtk2.0-0 >= 2.14.4-0ubuntu1
libasound2 >= 1.0.17a-0ubuntu4
libdb4.7 >= 4.7.25-3
libmysqlclient15off >= 5.0.67-0ubuntu6)
> dpkg -i pwrsev_4.6.0-3ubuntu_i386.deb
Information:
The storage environment package should be installed "stand-alone" without the
pwr46 or pwrrt package.
5. CREATE APT REPOSITORY
------------------------
Login in a root.
...
...
@@ -136,8 +165,8 @@ Update apt with the new packages
Check that the packages are found
> apt-cache search pwr
pwr4
5
- Proview development and runtime environment package
pwrdemo4
5
- Proview Demo Project package
pwr4
6
- Proview development and runtime environment package
pwrdemo4
6
- Proview Demo Project package
pwrrt - Proview runtime environment
If the command g++ is unknown you have to create the link
...
...
src/tools/pkg/deb/pwr/control
View file @
4a01e965
Package: pwr46
Version: 4.6.0-
1
Version: 4.6.0-
4
Section: base
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.7-1
3), libgtk2.0-0 (>= 2.12.11-3), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11), libdb4.3++c2 (>= 4.6.21-11
), libmysqlclient15off (>= 5.0.51a-15), g++ (>= 4:4.3.2-2)
Depends: libc6 (>= 2.7-1
4), libgtk2.0-0 (>= 2.12.11-4), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11), libdb4.6++ (>= 4.6.0-4
), libmysqlclient15off (>= 5.0.51a-15), g++ (>= 4:4.3.2-2)
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45
Maintainer: Proview <postmaster@proview.se>
Description: Proview development and runtime environment package
Proview development and runtime environment
4.6.0-1 Base release
4.6.0-2
- Ge color gradients added.
4.6.0-3
- Sev: error handling improved.
4.6.0-4
- Metric fonts in Ge and Xtt.
src/tools/pkg/deb/pwrdemo/control
View file @
4a01e965
Package: pwrdemo46
Version: 4.6.0-
1
Version: 4.6.0-
4
Section: base
Priority: optional
Architecture: i386
Depends: pwr46 (>= 4.6.0-
1
)
Depends: pwr46 (>= 4.6.0-
4
)
Maintainer: Proview <postmaster@proview.se>
Description: Proview Demo Project package
Proview Demo Project
...
...
src/tools/pkg/deb/pwrrt/control
View file @
4a01e965
Package: pwrrt
Version: 4.6.0-
1
Version: 4.6.0-
4
Section: base
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.7-1
3), libgtk2.0-0 (>= 2.12.11-3
), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45
Depends: libc6 (>= 2.7-1
4), libgtk2.0-0 (>= 2.12.11-4
), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45
,pwr46
Maintainer: Proview <postmaster@proview.se>
Description:
Proview runtime environment
4.6.0-1 Base release
4.6.0-2
- Ge color gradients added.
4.6.0-3
- Sev: error handling improved.
4.6.0-4
- Metric fonts in Ge and Xtt.
src/tools/pkg/deb/pwrsev/control
View file @
4a01e965
Package: pwrsev
Version: 4.6.0-
1
Version: 4.6.0-
4
Section: base
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.7-1
3), libgtk2.0-0 (>= 2.12.11-3), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11
)
Depends: libc6 (>= 2.7-1
4), libgtk2.0-0 (>= 2.12.11-4), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11), libmysqlclient15off (>= 5.0.51a-15
)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45
Maintainer: Proview <postmaster@proview.se>
Description:
Proview storage environment
4.6.0-1 Beta release
4.6.0-3
- Sev: error handling improved.
4.6.0-4
- Metric fonts in Ge and Xtt.
src/tools/pkg/rpm/pwrdemo/pwrdemo.spec
View file @
4a01e965
...
...
@@ -79,6 +79,14 @@ cat > $initsh <<EOF
source $aroot/db/pwr_setup.sh
source \$pwr_exe/pwrp_env.sh set project pwrdemo%{ver}
if [ ! -e "\$pwrp_db/directory.db" ]; then
wb_cmd create volume/directory
wb_cmd wb load /load=\"\$pwrp_db/directory.wb_dmp\"
fi
if [ ! -e "\$pwrp_db/volpwrdemo.db" ]; then
wb_cmd wb load /load=\"\$pwrp_db/volpwrdemo.wb_dmp\"
fi
wb_cmd @$initpwrc
EOF
...
...
@@ -100,7 +108,6 @@ sudo -u pwrp $initsh
rm $initsh
rm $initpwrc
ls
%preun
...
...
src/tools/pkg/rpm/pwrrt/build.sh
View file @
4a01e965
...
...
@@ -112,7 +112,9 @@ mkdir -p $pkgroot/rpm/SPECS
mkdir
-p
$pkgroot
/rpm/SOURCES
mkdir
-p
$pkgroot
/rpm/SRPMS
mkdir
-p
$pkgroot
/usr/share/doc/pwrrt
mkdir
-p
$pkgroot
/etc/init.d
mkdir
-p
$pkgroot
/etc
# init.d is a symlink on fedora that is owned by with chkconfig and causes conflict
#mkdir -p $pkgroot/etc/init.d
find
$pkgroot
-type
d | xargs
chmod
755
...
...
@@ -126,8 +128,8 @@ gzip -fq --best $pkgroot/usr/share/doc/pwrrt/changelog
# Startup files
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/pwr $pkgroot/etc/init.d
#
chmod a+x $pkgroot/etc/init.d/pwr
# Man pages
mkdir
-p
$pkgroot
/usr/share/man/man1
...
...
@@ -157,6 +159,7 @@ cd $currentdir
# Copy configuration files to cnf
cp
$pkgsrc
/proview.cnf
$pkgroot
/usr/pwrrt/cnf
cp
$pkgsrc
/pwr
$pkgroot
/usr/pwrrt/cnf
# Copy op to cnf
mkdir
$pkgroot
/usr/pwrrt/cnf/op
...
...
src/tools/pkg/rpm/pwrrt/pwrrt.spec
View file @
4a01e965
...
...
@@ -117,7 +117,7 @@ else
fi
fi
new_user=0
if getent passwd pwrp > /dev/null; then
echo "-- user pwrp already exist"
else
...
...
@@ -213,6 +213,9 @@ if [ ! -e /etc/proview.cnf ]; then
cp /usr/pwrrt/cnf/proview.cnf /etc
new_cnf=1
fi
cp /usr/pwrrt/cnf/pwr /etc/init.d
chmod a+x /etc/init.d/pwr
# Add pwrp_profile to profile
if ! grep -q "/etc/pwrp_profile\b" /etc/profile; then
...
...
src/tools/pkg/rpm/pwrsev/build.sh
View file @
4a01e965
...
...
@@ -115,7 +115,9 @@ mkdir -p $pkgroot/rpm/SPECS
mkdir
-p
$pkgroot
/rpm/SOURCES
mkdir
-p
$pkgroot
/rpm/SRPMS
mkdir
-p
$pkgroot
/usr/share/doc/pwrsev
mkdir
-p
$pkgroot
/etc/init.d
mkdir
-p
$pkgroot
/etc
# init.d is a symlink on fedora that is owned by with chkconfig and causes conflict
# mkdir $pkgroot/etc/init.d
find
$pkgroot
-type
d | xargs
chmod
755
...
...
@@ -129,8 +131,8 @@ gzip -fq --best $pkgroot/usr/share/doc/pwrsev/changelog
# Startup files
cp
$pkgsrc
/pwrp_profile
$pkgroot
/etc
chmod
a+x
$pkgroot
/etc/pwrp_profile
cp
$pkgsrc
/pwrsev
$pkgroot
/etc/init.d
chmod
a+x
$pkgroot
/etc/init.d/pwrsev
#
cp $pkgsrc/pwrsev $pkgroot/etc/init.d
#
chmod a+x $pkgroot/etc/init.d/pwrsev
# Man pages
mkdir
-p
$pkgroot
/usr/share/man/man1
...
...
@@ -157,6 +159,7 @@ cd $currentdir
# Copy configuration files to cnf
cp
$pkgsrc
/proview.cnf
$pkgroot
/usr/pwrsev/cnf
cp
$pkgsrc
/pwrsev
$pkgroot
/usr/pwrsev/cnf
# Copy op to cnf
mkdir
$pkgroot
/usr/pwrsev/cnf/op
...
...
src/tools/pkg/rpm/pwrsev/pwrsev.spec
View file @
4a01e965
...
...
@@ -114,7 +114,7 @@ else
fi
fi
new_user=0
if getent passwd pwrp > /dev/null; then
echo "-- user pwrp already exist"
else
...
...
@@ -203,6 +203,8 @@ if [ ! -e /etc/proview.cnf ]; then
cp /usr/pwrsev/cnf/proview.cnf /etc
new_cnf=1
fi
cp /usr/pwrsev/cnf/pwrsev /etc/init.d
chmod a+x /etc/init.d/pwrsev
# Add pwrp_profile to profile
if ! grep -q "/etc/pwrp_profile\b" /etc/profile; then
...
...
@@ -391,14 +393,14 @@ fi
# Remove startup
if [ -e /etc/init.d/rc2.d ]; then
checklink=`eval ls /etc/init.d/rc2.d/S90pwr 2>/dev/null`
checklink=`eval ls /etc/init.d/rc2.d/S90pwr
sev
2>/dev/null`
if [ "$checklink" != "" ]; then
rm /etc/init.d/rc2.d/S90pwr
rm /etc/init.d/rc2.d/S90pwr
sev
fi
elif [ -e /etc/rc2.d ]; then
checklink=`eval ls /etc/rc2.d/S90pwr 2>/dev/null`
checklink=`eval ls /etc/rc2.d/S90pwr
sev
2>/dev/null`
if [ "$checklink" != "" ]; then
rm /etc/rc2.d/S90pwr
rm /etc/rc2.d/S90pwr
sev
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment