Magellan Linux

Diff of /mage/branches/alx-0_6_0/profiles/alx-060/forced-uninstall

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

revision 2816 by niro, Wed Aug 31 09:14:41 2011 UTC revision 2823 by niro, Thu Sep 1 10:15:46 2011 UTC
# Line 236  fi Line 236  fi
236    
237  if [[ -f /.dist-upgrade ]]  if [[ -f /.dist-upgrade ]]
238  then  then
239     # busybox gets installed before the new busybox initscripts
240     # and the syslog daemon gets started at the wrong runlevels (rc3.d instead of rc.sysinit)
241     # these runlevel symlinks will be deleted by the prune-orphaned-files script
242     # and syslogd will be left never started. so add syslogd here
243     rc-config add syslogd
244    
245   # array of wireless opts   # array of wireless opts
246   WIRELESS_OPTS=( WIRELESS_BITRATE WIRELESS_CHANNEL WIRELESS_ESSID WIRELESS_FREQUENCY WIRELESS_MODE WIRELESS_NICK WIRELESS_AUTH_MODE WIRELESS_KEY_LENGTH WIRELESS_KEY WIRELESS_KEY_ASCII WIRELESS_WPA_DRIVER )   WIRELESS_OPTS=( WIRELESS_BITRATE WIRELESS_CHANNEL WIRELESS_ESSID WIRELESS_FREQUENCY WIRELESS_MODE WIRELESS_NICK WIRELESS_AUTH_MODE WIRELESS_KEY_LENGTH WIRELESS_KEY WIRELESS_KEY_ASCII WIRELESS_WPA_DRIVER )
247    
# Line 293  fi Line 299  fi
299    
300  if [[ -f /.dist-upgrade ]]  if [[ -f /.dist-upgrade ]]
301  then  then
302   echo "preparing a reboot in 60 seconds ..."   echo "preparing for a reboot in 60 seconds ..."
303   # reboot via cronjob   # reboot via cronjob
304   [[ ! -d /var/spool/cron/crontabs ]] && install -d /var/spool/cron/crontabs   [[ ! -d /var/spool/cron/crontabs ]] && install -d /var/spool/cron/crontabs
305   # setup a proper cronjob   # setup a proper cronjob
# Line 302  then Line 308  then
308   # fake mageupgrade to fix annoying error messages   # fake mageupgrade to fix annoying error messages
309   if [[ ! -x /sbin/mageupgrade ]]   if [[ ! -x /sbin/mageupgrade ]]
310   then   then
311   echo '!/bin/sh' > /sbin/mageupgrade   echo '#!/bin/sh' > /sbin/mageupgrade
312   echo 'exit 0'  >> /sbin/mageupgrade   echo 'exit 0'  >> /sbin/mageupgrade
313   chmod +x /sbin/mageupgrade   chmod +x /sbin/mageupgrade
314   echo "* * * * * rm /sbin/mageupgrade" >> ${tmp}   echo "* * * * * rm /sbin/mageupgrade" >> ${tmp}

Legend:
Removed from v.2816  
changed lines
  Added in v.2823