1 diff -ur 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-06 02:40:17.534545611 +0300
8 +static void do_chvt(void)
10 + system("if [ \"`/sbin/runlevel | awk '{print $2}'`\" = \"5\" ]; then /usr/bin/chvt 1; fi");
13 int main(int argc, char** argv) {
15 LoginApp = new App(argc, argv);