61 |
|
|
62 |
# rename sim.lock to sim.pid and enable daemon mode by default |
# rename sim.lock to sim.pid and enable daemon mode by default |
63 |
# fix the shutdown and reboot commands to match busybox |
# fix the shutdown and reboot commands to match busybox |
64 |
|
# secure x11 with -nolisten tcp |
65 |
sed -i -e "s:/var/run/slim.lock:/var/run/slim.pid:" \ |
sed -i -e "s:/var/run/slim.lock:/var/run/slim.pid:" \ |
66 |
-e "s:# daemon.*:daemon\tyes:" \ |
-e "s:# daemon.*:daemon\tyes:" \ |
67 |
-e "s:^\(halt_cmd.*\):\1\t/sbin/halt:" \ |
-e "s:^\(halt_cmd.*\):\1\t/sbin/halt:" \ |
68 |
-e "s:^\(reboot_cmd.*\):\1\t/sbin/reboot:" \ |
-e "s:^\(reboot_cmd.*\):\1\t/sbin/reboot:" \ |
69 |
|
-e "s:# xserver_arguments.*:xserver_arguments\t-nolisten tcp:" \ |
70 |
slim.conf || die |
slim.conf || die |
71 |
} |
} |
72 |
|
|