Magellan Linux

Diff of /trunk/include/mtools.minc

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

revision 42 by niro, Sat Jan 14 01:36:11 2012 UTC revision 43 by niro, Mon Jan 30 22:43:33 2012 UTC
# Line 135  mstartunit() Line 135  mstartunit()
135   local opts   local opts
136    
137   # only run if systemd was found   # only run if systemd was found
138   if [[ ! -x /bin/systemctl ]]   if [[ ! -x /bin/systemctl ]] && [[ ! -x /usr/bin/systemctl ]]
139   then   then
140   echo "systemd not found, not adding unit ${service} to runlevels!"   echo "systemd not found, not adding unit ${service} to runlevels!"
141   return   return
# Line 189  mstopunit() Line 189  mstopunit()
189   local opts   local opts
190    
191   # only run if systemd was found   # only run if systemd was found
192   if [[ ! -x /bin/systemctl ]]   if [[ ! -x /bin/systemctl ]] && [[ ! -x /usr/bin/systemctl ]]
193   then   then
194   echo "systemd not found, not removing unit ${service} from runlevels!"   echo "systemd not found, not removing unit ${service} from runlevels!"
195   return   return
# Line 255  mreloadunit() Line 255  mreloadunit()
255   local opts   local opts
256    
257   # only run if systemd was found   # only run if systemd was found
258   if [[ ! -x /bin/systemctl ]]   if [[ ! -x /bin/systemctl ]] && [[ ! -x /usr/bin/systemctl ]]
259   then   then
260   echo "systemd not found, not removing unit ${service} from runlevels!"   echo "systemd not found, not removing unit ${service} from runlevels!"
261   return   return

Legend:
Removed from v.42  
changed lines
  Added in v.43