]> git.pld-linux.org Git - packages/aumix.git/commitdiff
- use %service
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 24 Feb 2006 15:20:04 +0000 (15:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    aumix.spec -> 1.107

aumix.spec

index d7090d9b2ecbee351227a5a91f5baf6401edafd3..2faec00708d8d9567aa17045da0bce51a2e6e19b 100644 (file)
@@ -147,16 +147,14 @@ rm -rf $RPM_BUILD_ROOT
 %post preserve-settings
 /sbin/chkconfig --add aumix
 if [ ! -f /var/lock/subsys/aumix ]; then
-       echo "Run \"/etc/rc.d/init.d/aumix start\" to initialize saving/restoring"
+       echo "Run \"/sbin/service aumix start\" to initialize saving/restoring"
        echo "sound card mixer's settings on system shutdown/startup, and then"
        echo "setup sound volume."
 fi
 
 %preun preserve-settings
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/aumix ]; then
-               /etc/rc.d/init.d/aumix stop
-       fi
+       %service aumix stop
        /sbin/chkconfig --del aumix
 fi
 
This page took 0.075585 seconds and 4 git commands to generate.