From 6aae67af18fcb9af1ab47c7dd4bfd9c265f0203b Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 15 May 2012 01:44:52 +0200 Subject: 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 --- functions | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'functions') 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 -- cgit v1.2.3-54-g00ecf