Magellan Linux

Diff of /smage/trunk/core/slim/slim-1.3.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1268 by niro, Sat Jan 29 12:33:02 2011 UTC revision 1269 by niro, Fri Feb 4 21:39:37 2011 UTC
# Line 61  src_prepare() Line 61  src_prepare()
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    

Legend:
Removed from v.1268  
changed lines
  Added in v.1269