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"