Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 159936 | Differences between
and this patch

Collapse All | Expand All

(-)minit-0.11/shutdown.c (-1 / +2 lines)
Lines 236-241 Link Here
236
  // real shutdown? then lets rock..
236
  // real shutdown? then lets rock..
237
  #ifdef USE_MINIT
237
  #ifdef USE_MINIT
238
  minit_shutdown(cfg_downlevel);
238
  minit_shutdown(cfg_downlevel);
239
  exec_cmd("/etc/minit/halt/run", (char *) 0);
239
  if (cfg_minitonly) return 0;
240
  if (cfg_minitonly) return 0;
240
  #endif
241
  #endif
241
  
242
  
Lines 258-264 Link Here
258
  sync();
259
  sync();
259
260
260
  exec_cmd("/sbin/swapoff", "swapoff", "-a", (char *) 0);
261
  exec_cmd("/sbin/swapoff", "swapoff", "-a", (char *) 0);
261
  exec_cmd("/bin/umount", "umount", "-a", (char *) 0);
262
  exec_cmd("/bin/umount", "umount", "-a", "-r", (char *) 0);
262
  exec_cmd("/bin/mount", "mount", "-o", "remount,ro", "/", (char *) 0);
263
  exec_cmd("/bin/mount", "mount", "-o", "remount,ro", "/", (char *) 0);
263
264
264
  sync();
265
  sync();

Return to bug 159936