From 70c671f9f0c92b1f83b2c5006e447bdf28312da1 Mon Sep 17 00:00:00 2001 From: Oliver Winston Date: Tue, 5 Jun 2007 21:18:51 +0000 Subject: [PATCH] * rt61 reverted (21239->20587) should be on branch git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21240 10447126-35f2-4685-b0cf-6dd780d3921f --- network/rt61/postlinux.conf | 19 +++++++++++++++++++ network/rt61/rt61.conf | 15 +++++++++------ 2 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 network/rt61/postlinux.conf diff --git a/network/rt61/postlinux.conf b/network/rt61/postlinux.conf new file mode 100644 index 000000000..5c625326d --- /dev/null +++ b/network/rt61/postlinux.conf @@ -0,0 +1,19 @@ +# --- 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 5f538dc52..918613591 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: package2/network/rt61/rt61.conf +# Filename: package/.../rt61/rt61.conf # Copyright (C) 2007 The OpenSDE Project # # More information can be found in the files COPYING and README. @@ -11,12 +11,15 @@ # 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() { - mkdir -p $rt61sta - cp -vf rt61sta.dat $rt61sta - cp -vf *.bin $rt61sta + cd Module + mkdir -p $root$sysconfdir/Wireless/RT61STA/ + cp rt61sta.dat $root$sysconfdir/Wireless/RT61STA/ + cp *.bin $root$sysconfdir/Wireless/RT61STA/ } -hook_add preconf 5 "cd Module" + +confopt= +makeopt= +makeinstopt= hook_add postinstall 5 "pkg_rt61_postinstall"