From 4f70ad79365685a39590f9d76b8c0aa738e08761 Mon Sep 17 00:00:00 2001 From: Oliver Winston Date: Tue, 5 Jun 2007 20:44:56 +0000 Subject: [PATCH] * adapted rt61 for using linux26-src git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21238 10447126-35f2-4685-b0cf-6dd780d3921f --- network/rt61/postlinux.conf | 19 ------------------- network/rt61/rt61.conf | 15 ++++++--------- 2 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 network/rt61/postlinux.conf diff --git a/network/rt61/postlinux.conf b/network/rt61/postlinux.conf deleted file mode 100644 index 5c625326d..000000000 --- a/network/rt61/postlinux.conf +++ /dev/null @@ -1,19 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: package/.../rt61/postlinux.conf -# Copyright (C) 2007 The OpenSDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -hook_add preconf 5 "cd Module" -var_append makeopt " " "KERNDIR=$moduledir/build" -var_append makeopt " " "MODDIR=$moduledir/net" - -makeinstopt="$makeopt modules_install" diff --git a/network/rt61/rt61.conf b/network/rt61/rt61.conf index 918613591..efd0bf923 100644 --- a/network/rt61/rt61.conf +++ b/network/rt61/rt61.conf @@ -1,7 +1,7 @@ # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # -# Filename: package/.../rt61/rt61.conf +# Filename: package2/network/rt61/rt61.conf # Copyright (C) 2007 The OpenSDE Project # # More information can be found in the files COPYING and README. @@ -11,15 +11,12 @@ # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +rt61sta=$root/$sysconfdir/Wireless/RT61STA/ pkg_rt61_postinstall() { - cd Module - mkdir -p $root$sysconfdir/Wireless/RT61STA/ - cp rt61sta.dat $root$sysconfdir/Wireless/RT61STA/ - cp *.bin $root$sysconfdir/Wireless/RT61STA/ + mkdir -p $rt61sta + cp -vf rt61sta.dat $rt61sta + cp -vf *.bin $rt61sta } - -confopt= -makeopt= -makeinstopt= +hook_add preconf 5="cd Module" hook_add postinstall 5 "pkg_rt61_postinstall"