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 7974 by niro, Wed Dec 9 13:51:58 2015 UTC revision 8048 by niro, Wed Dec 30 09:15:29 2015 UTC
# Line 18  NEW_MAGE_UNINSTALL_TIMEOUT=0 Line 18  NEW_MAGE_UNINSTALL_TIMEOUT=0
18    
19  CONFIGRC="/etc/alxconfig-ng/config.rc"  CONFIGRC="/etc/alxconfig-ng/config.rc"
20  NEW_ALX_NETWORKING="dhcp"  NEW_ALX_NETWORKING="dhcp"
21  NEW_ALX_DHCP_PROG="/sbin/udhcpc"  NEW_ALX_DHCP_PROG="/sbin/dhcpc"
22  NEW_ALX_DHCP_START='-T 10 -t 5 -n -x hostname:\\\$(hostname) -c \\\$(dhcp-identifier \\\$(alx-iface)) -i'  NEW_ALX_DHCP_START="-t 10"
23  NEW_ALX_DHCP_STOP=""  NEW_ALX_DHCP_STOP="-k"
24  NEW_MIN_DISK_SPACE="85000"  NEW_MIN_DISK_SPACE="85000"
25  NEW_ALX_PLUGINS="/usr/lib/alxconfig-ng/plugins"  NEW_ALX_PLUGINS="/usr/lib/alxconfig-ng/plugins"
26  NEW_ALX_FUNCTIONS="/usr/lib/alxconfig-ng/functions"  NEW_ALX_FUNCTIONS="/usr/lib/alxconfig-ng/functions"
# Line 154  updateconfig ALX_NETWORKING ALX_DHCP_PRO Line 154  updateconfig ALX_NETWORKING ALX_DHCP_PRO
154    
155  # fix eth0 config too  # fix eth0 config too
156  CONFIG="/etc/conf.d/net.eth0"  CONFIG="/etc/conf.d/net.eth0"
157    eval "NEW_DHCP_PROG=\"${NEW_ALX_DHCP_PROG}\"" # eval this twice
158    eval "NEW_DHCP_PROG=\"${NEW_DHCP_PROG}\"" # to remove the \\ escapes
159    #
160  eval "NEW_DHCP_START=\"${NEW_ALX_DHCP_START}\"" # eval this twice  eval "NEW_DHCP_START=\"${NEW_ALX_DHCP_START}\"" # eval this twice
161  eval "NEW_DHCP_START=\"${NEW_DHCP_START}\"" # to remove the \\ escapes  eval "NEW_DHCP_START=\"${NEW_DHCP_START}\"" # to remove the \\ escapes
162  updateconfig DHCP_START  #
163    eval "NEW_DHCP_STOP=\"${NEW_ALX_DHCP_STOP}\"" # eval this twice
164    eval "NEW_DHCP_STOP=\"${NEW_DHCP_STOP}\"" # to remove the \\ escapes
165    updateconfig DHCP_PROG DHCP_START DHCP_STOP
166    
167  # fix profile  # fix profile
168  if [[ $(readlink /etc/mage-profile) != */${MAGEPROFILE} ]]  if [[ $(readlink /etc/mage-profile) != */${MAGEPROFILE} ]]

Legend:
Removed from v.7974  
changed lines
  Added in v.8048