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

Diff of /trunk/src/rc.c

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

Revision 2734 Revision 2744
81{ 81{
82 pidlist_t *pl = service_pids; 82 pidlist_t *pl = service_pids;
83 83
84 rc_plugin_unload (); 84 rc_plugin_unload ();
85 85
86 if (termios_orig) { 86 if (! rc_in_plugin && termios_orig) {
87 tcsetattr (STDIN_FILENO, TCSANOW, termios_orig); 87 tcsetattr (STDIN_FILENO, TCSANOW, termios_orig);
88 free (termios_orig); 88 free (termios_orig);
89 } 89 }
90 90
91 while (pl) { 91 while (pl) {
101 rc_strlist_free (start_services); 101 rc_strlist_free (start_services);
102 rc_free_deptree (deptree); 102 rc_free_deptree (deptree);
103 rc_strlist_free (types); 103 rc_strlist_free (types);
104 104
105 /* Clean runlevel start, stop markers */ 105 /* Clean runlevel start, stop markers */
106 if (! rc_in_plugin) {
106 if (rc_is_dir (RC_SVCDIR "softscripts.new")) 107 if (rc_is_dir (RC_SVCDIR "softscripts.new"))
107 rc_rm_dir (RC_SVCDIR "softscripts.new", true); 108 rc_rm_dir (RC_SVCDIR "softscripts.new", true);
108 if (rc_is_dir (RC_SVCDIR "softscripts.old")) 109 if (rc_is_dir (RC_SVCDIR "softscripts.old"))
109 rc_rm_dir (RC_SVCDIR "softscripts.old", true); 110 rc_rm_dir (RC_SVCDIR "softscripts.old", true);
111 }
110 112
111 free (applet); 113 free (applet);
112} 114}
113 115
114static int do_e (int argc, char **argv) 116static int do_e (int argc, char **argv)

Legend:
Removed from v.2734  
changed lines
  Added in v.2744

  ViewVC Help
Powered by ViewVC 1.1.20