wok diff get-softmodem-driver/stuff/get-softmodem-driver @ rev 9053
php-auth-sasl: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 11:29:26 2011 +0100 (2011-03-04) |
parents | 8fc90d8b565b |
children |
line diff
1.1 --- a/get-softmodem-driver/stuff/get-softmodem-driver Thu Jun 18 14:43:23 2009 +0200 1.2 +++ b/get-softmodem-driver/stuff/get-softmodem-driver Fri Mar 04 11:29:26 2011 +0100 1.3 @@ -9,25 +9,21 @@ 1.4 { 1.5 echo "--------------------------------------------------------" 1.6 echo "Due to a lack of compatible hardware for troubleshooting," 1.7 -echo "this $PACKAGE package has not been tested." 1.8 -echo "Please report any bug to SliTaz Labs or SliTaz Forum." 1.9 +echo "this $PACKAGE package has not been tested. Please report" 1.10 +echo "any success, failure, bug to SliTaz Labs or SliTaz Forum." 1.11 echo "--------------------------------------------------------" 1.12 sleep 1 1.13 } 1.14 1.15 case "$PACKAGE" in 1.16 hsfmodem) 1.17 - . /usr/share/softmodem/hsfmodem.receipt 1.18 - echo $SHORT_DESC;; 1.19 + . /usr/share/softmodem/hsfmodem.receipt ;; 1.20 hcfpcimodem) 1.21 - . /usr/share/softmodem/hcfpcimodem.receipt 1.22 - echo $SHORT_DESC;; 1.23 + . /usr/share/softmodem/hcfpcimodem.receipt ;; 1.24 martian) 1.25 - . /usr/share/softmodem/martian.receipt 1.26 - echo $SHORT_DESC;; 1.27 + . /usr/share/softmodem/martian.receipt ;; 1.28 slmodem) 1.29 - . /usr/share/softmodem/slmodem.receipt 1.30 - echo $SHORT_DESC;; 1.31 + . /usr/share/softmodem/slmodem.receipt ;; 1.32 *) 1.33 echo "Unknown modem driver. Please run one of the following commands:" 1.34 for i in $(cd $(dirname $0); ls get-*-driver); do 1.35 @@ -38,6 +34,9 @@ 1.36 exit 1;; 1.37 esac 1.38 1.39 +# Report 1.40 +echo "Installing $SHORT_DESC.." 1.41 + 1.42 # Check if user is root to install. 1.43 if test $(id -u) != 0 ; then 1.44 echo -e "\nYou must be root to run `basename $0`." 1.45 @@ -142,6 +141,11 @@ 1.46 cp -a kmodule/martian_dev.ko $fs/lib/modules/`uname -r`/martian 1.47 mkdir -p $fs/etc/init.d 1.48 cp -a /usr/share/softmodem/martian.init $fs/etc/init.d/martian 1.49 + chmod +x $fs/etc/init.d/martian 1.50 + # Data for automatic region setting 1.51 + mkdir -p $fs/usr/share/martian 1.52 + cp -a /usr/share/softmodem/zone.tab $fs/usr/share/martian 1.53 + cp -a /usr/share/softmodem/martian.country $fs/usr/share/martian 1.54 rm -rf $src 1.55 ;; 1.56 slmodem)