63 |
# fix the shutdown and reboot commands to match busybox |
# fix the shutdown and reboot commands to match busybox |
64 |
sed -i -e "s:/var/run/slim.lock:/var/run/slim.pid:" \ |
sed -i -e "s:/var/run/slim.lock:/var/run/slim.pid:" \ |
65 |
-e "s:# daemon.*:daemon\tyes:" \ |
-e "s:# daemon.*:daemon\tyes:" \ |
66 |
-e "s:^\(halt_cmd.*):\1\t/sbin/halt:" \ |
-e "s:^\(halt_cmd.*\):\1\t/sbin/halt:" \ |
67 |
-e "s:^\(reboot_cmd.*):\1\t/sbin/reboot:" \ |
-e "s:^\(reboot_cmd.*\):\1\t/sbin/reboot:" \ |
68 |
slim.conf || die |
slim.conf || die |
69 |
} |
} |
70 |
|
|