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)