From 2b88be43076a5e3019da62b3b188d3f061b105ea Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 8 Jun 2012 10:09:31 -0400 Subject: remove checks for /var/run and /var/lock as symlinks These are shipped as symlinks by filesystem 2012.06, so these checks are no longer needed. Signed-off-by: Dave Reisner --- functions | 9 --------- 1 file changed, 9 deletions(-) (limited to 'functions') 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() { -- cgit v1.2.3