# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/rp-pppoe/rp-pppoe.conf # Copyright (C) 2021 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # 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 version 2. # --- T2-COPYRIGHT-NOTE-END --- rp_pppoe_pre() { cd src } hook_add preconf 5 "rp_pppoe_pre" var_append confopt ' ' '--disable-debugging' rp_pppoe_wrapper() { cd ../gui make install -m755 -s pppoe-wrapper $root/usr/sbin } hook_add postmake 6 "rp_pppoe_wrapper"