wok diff slitaz-boot-scripts/receipt @ rev 670
Removed misc files + replace iso8859-15 by koi8 for Russian support
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 23:06:22 2008 +0200 (2008-04-23) |
parents | 94703c196f5f |
children | c75579367c0c |
line diff
1.1 --- a/slitaz-boot-scripts/receipt Fri Mar 21 14:01:39 2008 +0100 1.2 +++ b/slitaz-boot-scripts/receipt Wed Apr 23 23:06:22 2008 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slitaz-boot-scripts" 1.7 -VERSION="1.8.1" 1.8 +VERSION="2.0" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="Provide all the initialisation scripts used at boot time." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -33,10 +33,6 @@ 1.13 { 1.14 local root 1.15 root=$1 1.16 - 1.17 - # Remove motd to be rebuils by /etc/init.d/i18n.sh in 1.18 - # the right language. 1.19 - rm -f $root/etc/motd 1.20 1.21 # Backup file to restore with post install 1.22 echo "Creating backups of configs..." 1.23 @@ -55,5 +51,19 @@ 1.24 mv -f $root/etc/network.conf.bak $root/etc/network.conf 2>/dev/null 1.25 mv -f $root/etc/inittab.bak $root/etc/inittab 2>/dev/null 1.26 mv -f $root/etc/init.d/local.sh.bak $root/etc/init.d/local.sh 2>/dev/null 1.27 + 1.28 + # wifi config 1.29 + if ! grep -q ^WIFI $root/etc/network.conf; then 1.30 + cat >> $root/etc/network.conf << "EOT" 1.31 +# Wifi connection. 1.32 +# Enable/disable wireless connection at boot time. 1.33 +WIFI="no" 1.34 + 1.35 +# Wifi interface (iwconfig) and ESSID. 1.36 +WIFI_INTERFACE="wlan0" 1.37 +ESSID="any" 1.38 + 1.39 +EOT 1.40 + fi 1.41 } 1.42