aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-12-17 08:31:32 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2017-12-17 08:32:37 +0100
commite25ca462e5c6b4e5bbcfb70dbdf1006a25749dee (patch)
tree98262cecb5510b42f73f27480122a9d2a10a7539 /gnu
parentbc3d6077489e7be5bee35d426207ac0f290c09d0 (diff)
downloadpatches-e25ca462e5c6b4e5bbcfb70dbdf1006a25749dee.tar
patches-e25ca462e5c6b4e5bbcfb70dbdf1006a25749dee.tar.gz
services: cleanup: Remove "/run/udev/watch.old" directory.
* gnu/services.scm (cleanup-gexp): Remove "/run/udev/watch.old" directory.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services.scm b/gnu/services.scm
index 016ff08e0b..15fc6dcb49 100644
--- a/gnu/services.scm
+++ b/gnu/services.scm
@@ -392,7 +392,8 @@ boot."
(mkdir "/tmp")
(chmod "/tmp" #o1777)
(mkdir "/var/run")
- (chmod "/var/run" #o755))))))))
+ (chmod "/var/run" #o755)
+ (delete-file-recursively "/run/udev/watch.old"))))))))
(define cleanup-service-type
;; Service that cleans things up in /tmp and similar.