]> git.saurik.com Git - apple/system_cmds.git/blobdiff - shutdown.tproj/shutdown.c
system_cmds-854.11.2.tar.gz
[apple/system_cmds.git] / shutdown.tproj / shutdown.c
index d6e60d6df0d461c9933790348c856afd4b35e7cd..904110c88e531349e2649e2b3b55fbf783cf3f9b 100644 (file)
@@ -78,7 +78,6 @@ __FBSDID("$FreeBSD: src/sbin/shutdown/shutdown.c,v 1.28 2005/01/25 08:40:51 delp
 #include <bootstrap_priv.h>
 #include <reboot2.h>
 #include <utmpx.h>
-#include <sys/sysctl.h>
 
 #include "pathnames.h"
 #endif /* __APPLE__ */
@@ -484,9 +483,6 @@ die_you_gravy_sucking_pig_dog()
                        utx.ut_type = SHUTDOWN_TIME;
                        gettimeofday(&utx.ut_tv, NULL);
                        pututxline(&utx);
-
-                       int newvalue = 1;
-                       sysctlbyname("kern.willshutdown", NULL, NULL, &newvalue, sizeof(newvalue));
                }
 #else
                logwtmp("~", "shutdown", "");