From 9f0b4aae5cbd01ea3a6ca235a1af129a515caf71 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Wed, 11 Jul 2007 12:55:21 +0000 Subject: [PATCH] * merged r21241 from kernel-cleanup2: * adapted rt61 for using linux26-src git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21658 10447126-35f2-4685-b0cf-6dd780d3921f --- network/rt61/postlinux.conf | 19 ------------------- network/rt61/rt61.conf | 13 +++++-------- 2 files changed, 5 insertions(+), 27 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..47fa30627 100644 --- a/network/rt61/rt61.conf +++ b/network/rt61/rt61.conf @@ -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"