[arch-projects] [initscripts][PATCH 2/4] remove checks for /var/run and /var/lock as symlinks

Dave Reisner dreisner at archlinux.org
Fri Jun 8 10:58:47 EDT 2012


These are shipped as symlinks by filesystem 2012.06, so these checks are
no longer needed.

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 functions |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/functions b/functions
index 735f75f..4a8ba7b 100644
--- a/functions
+++ b/functions
@@ -590,15 +590,6 @@ umount_all() {
 
 remove_leftover() {
 	status -v 'Removing Leftover Files' systemd-tmpfiles --create --remove
-		# move from static /var/{run,lock} to /run
-		if [[ ! -L /var/lock ]]; then
-			rm -rf /var/lock
-			ln -s /run/lock /var/lock
-		fi
-		if [[ ! -L /var/run ]]; then
-			rm -rf /var/run
-			ln -s /run /var/run
-		fi
 }
 
 bootlogd_stop() {
-- 
1.7.10.4



More information about the arch-projects mailing list