Magellan Linux

Diff of /alx-src/branches/alxconf-060/init.d/alxsettings

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

revision 3463 by niro, Fri Apr 13 17:18:31 2012 UTC revision 3465 by niro, Fri Apr 13 17:20:39 2012 UTC
# Line 802  reset_system_settings() Line 802  reset_system_settings()
802   rm -rf ${SETTINGSPATH}   rm -rf ${SETTINGSPATH}
803   rm -f /etc/alxconfig-ng/serial   rm -f /etc/alxconfig-ng/serial
804   rm -rf /etc/alxconfig-ng/state   rm -rf /etc/alxconfig-ng/state
805     local i
806     for i in xserver netcard knoppix mouse
807     do
808     [[ -f /etc/conf.d/hwsetup/${i} ]] && rm /etc/conf.d/hwsetup/${i}
809     done
810    
811   # clear all printers & net-shares   # clear all printers & net-shares
812   :> /etc/printcap   :> /etc/printcap
# Line 830  reset_system_settings() Line 835  reset_system_settings()
835   rc_echo -n "Aborted, press [Enter] to reboot system ..."   rc_echo -n "Aborted, press [Enter] to reboot system ..."
836   fi   fi
837   read   read
838   reboot   sync
839     mount -oremount,ro /
840     reboot -f
841  }  }
842    
843  onboot_interface_list()  onboot_interface_list()

Legend:
Removed from v.3463  
changed lines
  Added in v.3465