1 diff -u slim-1.3.1_/main.cpp slim-1.3.1/main.cpp
2 --- slim-1.3.1_/main.cpp 2008-09-26 03:54:15.000000000 +0300
3 +++ slim-1.3.1/main.cpp 2015-07-10 02:29:38.182646783 +0300
8 +static void do_chvt(void)
10 + system("if [ \"`/sbin/runlevel | awk '{print $2}'`\" = \"5\" -a \"`/bin/pidof X`\" = \"\" ]; then /usr/bin/chvt 1; fi");
13 int main(int argc, char** argv) {
15 LoginApp = new App(argc, argv);