/[baselayout]/trunk/src/rc.c
Gentoo

Diff of /trunk/src/rc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2759 Revision 2760
859 } else if (strcmp (newlevel, RC_LEVEL_SINGLE) == 0) { 859 } else if (strcmp (newlevel, RC_LEVEL_SINGLE) == 0) {
860 if (! RUNLEVEL || 860 if (! RUNLEVEL ||
861 (strcmp (RUNLEVEL, "S") != 0 && 861 (strcmp (RUNLEVEL, "S") != 0 &&
862 strcmp (RUNLEVEL, "1") != 0)) 862 strcmp (RUNLEVEL, "1") != 0))
863 { 863 {
864 einfo ("Setting %s", runlevel);
865 /* Remember the current runlevel for when we come back */ 864 /* Remember the current runlevel for when we come back */
866 set_ksoftlevel (runlevel); 865 set_ksoftlevel (runlevel);
867 single_user (); 866 single_user ();
868 } 867 }
869 } else if (strcmp (newlevel, RC_LEVEL_REBOOT) == 0) { 868 } else if (strcmp (newlevel, RC_LEVEL_REBOOT) == 0) {

Legend:
Removed from v.2759  
changed lines
  Added in v.2760

  ViewVC Help
Powered by ViewVC 1.1.20