summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-05-15 01:44:52 +0200
committerTom Gundersen <teg@jklm.no>2012-05-29 12:48:18 +0200
commit6aae67af18fcb9af1ab47c7dd4bfd9c265f0203b (patch)
tree5fab7dbe3b0f28abb3d65b73d670b0ccc08f54fa /functions
parent6f3ad111dd2dc18e0d393d59e3a1b383e69d0741 (diff)
tmpfiles,sysctl,binfmt: use the systemd tools
No point in reinventing the wheel. These and other tools are shipped in the systemd-tools package. Functionality should be unchanged, but we no longer have to maintain the code. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'functions')
-rw-r--r--functions3
1 files changed, 1 insertions, 2 deletions
diff --git a/functions b/functions
index b9bfffc..fcbe402 100644
--- a/functions
+++ b/functions
@@ -576,8 +576,7 @@ umount_all() {
}
remove_leftover() {
- stat_busy "Removing Leftover Files"
- /usr/lib/initscripts/arch-tmpfiles --create --remove && stat_done || stat_fail
+ status -v 'Removing Leftover Files' /usr/lib/systemd/systemd-tmpfiles --create --remove
# move from static /var/{run,lock} to /run
if [[ ! -L /var/lock ]]; then
rm -rf /var/lock