예제 #1
0
파일: services.c 프로젝트: jing-git/rt-n56u
void
stop_services(int stopall)
{
	if (stopall) {
		stop_telnetd();
#if defined(APP_SSHD)
		stop_sshd();
#endif
		stop_httpd();
		stop_vpn_server();
	}
#if (BOARD_NUM_USB_PORTS > 0)
	stop_p910nd();
#if defined(SRV_LPRD)
	stop_lpd();
#endif
#if defined(SRV_U2EC)
	stop_u2ec();
#endif
#endif
	stop_networkmap();
	stop_lltd();
	stop_detect_internet();
	stop_rstats();
	stop_infosvr();
	stop_igmpproxy(NULL);
}
예제 #2
0
void
stop_usb_printer_spoolers(void)
{
#if defined(SRV_U2EC)
	stop_u2ec();
#endif
#if defined(SRV_LPRD)
	stop_lpd();
#endif
	stop_p910nd();
}