chiark / gitweb /
ipif: service-wrap: implementation, does not work yet
[userv-utils.git] / misc / checkpasswd-self
index 5e3a5a535d577889129e47b1c7b7050972cd05b0..a0daf6b9ee6b93248bb73454b10d6336ac529983 100644 (file)
@@ -1,8 +1,10 @@
 #
-if glob service-user root
+if ( grep service /etc/userv/default-services-enabled
+   & glob service-user root
+   )
        reset
        no-set-environment
        disconnect-hup
        suppress-args
-       execute checkpasswd-service SELF
+       execute checkpasswd-service /var/run/checkpasswd.synch 0.5 -- SELF
 fi