aboutsummaryrefslogtreecommitdiffstats
path: root/add-service
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2005-09-20 07:04:04 +0000
committerFrederic Lepied <flepied@mandriva.com>2005-09-20 07:04:04 +0000
commitc3e1c8e8c804cad3b90d3352fe0c77921ede55c4 (patch)
tree564fbbbc33523a3b5a2110ab14173e6d833a0deb /add-service
parent063945a3439cb5e32c1a51c8f7aee946c3d9f8de (diff)
downloadrpm-helper-c3e1c8e8c804cad3b90d3352fe0c77921ede55c4.tar
rpm-helper-c3e1c8e8c804cad3b90d3352fe0c77921ede55c4.tar.gz
rpm-helper-c3e1c8e8c804cad3b90d3352fe0c77921ede55c4.tar.bz2
rpm-helper-c3e1c8e8c804cad3b90d3352fe0c77921ede55c4.tar.xz
rpm-helper-c3e1c8e8c804cad3b90d3352fe0c77921ede55c4.zip
don't add the service to all the profiles in upgrade mode.
Diffstat (limited to 'add-service')
-rwxr-xr-xadd-service2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-service b/add-service
index 1a71eff..94cc21d 100755
--- a/add-service
+++ b/add-service
@@ -72,7 +72,7 @@ else
# if the service is activated, add it again to be able to handle
# changes in start/stop levels
if [ -f /etc/rc3.d/S??$srv ]; then
- add_service
+ /sbin/chkconfig --add $srv
fi
# restart the service if already running