1 diff -Nur entrance~/src/client/entrance_session.c entrance/src/client/entrance_session.c
2 --- entrance~/src/client/entrance_session.c 2006-02-02 19:51:40.000000000 -0800
3 +++ entrance/src/client/entrance_session.c 2006-02-02 19:59:24.000000000 -0800
5 entrance_session_free(e);
6 /* replace this process with a clean small one that just waits for its */
7 /* child to exit.. passed on the cmd-line */
8 - execl("/bin/sh", "/bin/sh", "-l", "-c", buf, NULL);
9 + execl("/bin/bash", "/bin/bash", "-l", "-c", buf, NULL);
13 diff -Nur entrance~/src/client/main.c entrance/src/client/main.c
14 --- entrance~/src/client/main.c 2006-02-02 19:51:40.000000000 -0800
15 +++ entrance/src/client/main.c 2006-02-02 19:57:24.000000000 -0800
20 - ("/bin/sh", "/bin/sh", "-c", "/sbin/shutdown -r now", NULL))
21 + ("/bin/bash", "/bin/bash", "-c", "/sbin/shutdown -r now", NULL))
24 "Reboot failed: Unable to execute /sbin/shutdown");
29 - ("/bin/sh", "/bin/sh", "-c", "/sbin/shutdown -h now", NULL))
30 + ("/bin/bash", "/bin/bash", "-c", "/sbin/shutdown -h now", NULL))
33 "Shutdown failed: Unable to execute /sbin/shutdown");
34 diff -Nur entrance~/src/daemon/entrance_wrapper.in entrance/src/daemon/entrance_wrapper.in
35 --- entrance~/src/daemon/entrance_wrapper.in 2006-02-02 19:51:40.000000000 -0800
36 +++ entrance/src/daemon/entrance_wrapper.in 2006-02-02 19:56:43.000000000 -0800
40 # Wrapper script to set up login environment:
41 # Load up all the junk in /etc/profile first, and then
42 # pass control to entrance proper.
43 diff -Nur entrance~/src/daemon/spawner.c entrance/src/daemon/spawner.c
44 --- entrance~/src/daemon/spawner.c 2006-02-02 19:51:40.000000000 -0800
45 +++ entrance/src/daemon/spawner.c 2006-02-02 19:57:10.000000000 -0800
47 sigaction(SIGUSR1, &_entrance_x_sa, NULL);
48 /* FIXME: need to parse command and NOT go thru /bin/sh!!!! */
49 /* why? some /bin/sh's wont pass on this SIGUSR1 thing... */
50 - execl("/bin/sh", "/bin/sh", "-c", x_cmd, NULL);
51 + execl("/bin/bash", "/bin/bash", "-c", x_cmd, NULL);
52 syslog(LOG_WARNING, "Could not execute X server.");