From 820680376264171f24d2401739d3f1c1ff2c6d3f Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Thu, 21 Feb 2008 14:09:32 -0300 Subject: [PATCH] Remove duplicate unionctl() error in initial reimplementation Signed-off-by: Claudio Matsuoka --- finit-alt.c | 2 -- finit-mod.c | 2 -- finit.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/finit-alt.c b/finit-alt.c index 7077c3b5..b65353c3 100644 --- a/finit-alt.c +++ b/finit-alt.c @@ -339,14 +339,12 @@ void shutdown(int sig) system("/usr/sbin/alsactl store > /dev/null 2>&1"); system("/sbin/hwclock --systohc --localtime" HWCLOCK_DIRECTISA); - system("/sbin/unionctl.static / --remove / > /dev/null 2>&1"); kill(-1, SIGKILL); sync(); sync(); system("/bin/mount -n -o remount,ro /"); - system("/sbin/unionctl.static / --remove / > /dev/null 2>&1"); if (sig == SIGINT || sig == SIGUSR1) diff --git a/finit-mod.c b/finit-mod.c index 6957c7a0..61626167 100644 --- a/finit-mod.c +++ b/finit-mod.c @@ -283,14 +283,12 @@ void shutdown(int sig) system("/usr/sbin/alsactl store > /dev/null 2>&1"); system("/sbin/hwclock --systohc --localtime" HWCLOCK_DIRECTISA); - system("/sbin/unionctl.static / --remove / > /dev/null 2>&1"); kill(-1, SIGKILL); sync(); sync(); system("/bin/mount -n -o remount,ro /"); - system("/sbin/unionctl.static / --remove / > /dev/null 2>&1"); if (sig == SIGINT || sig == SIGUSR1) diff --git a/finit.c b/finit.c index f0f31285..8364d737 100644 --- a/finit.c +++ b/finit.c @@ -240,14 +240,12 @@ void shutdown(int sig) system("/usr/sbin/alsactl store > /dev/null 2>&1"); system("/sbin/hwclock --systohc --localtime"); - system("/sbin/unionctl.static / --remove / > /dev/null 2>&1"); kill(-1, SIGKILL); sync(); sync(); system("/bin/mount -n -o remount,ro /"); - system("/sbin/unionctl.static / --remove / > /dev/null 2>&1"); if (sig == SIGINT || sig == SIGUSR1)