diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 22:35:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-22 22:35:40 +0000 |
commit | bc5ba395055536aa336d934ed896a3687c3780f6 (patch) | |
tree | 1ddb0ff167a1f7dd037250bfe877fc18d7c328fe /packages/per-user-bandwidth-distribution.xml | |
parent | 9cf7fc538f19908accf1b2cada3fe0c7127dfe5c (diff) | |
download | pfsense-packages-bc5ba395055536aa336d934ed896a3687c3780f6.tar.gz pfsense-packages-bc5ba395055536aa336d934ed896a3687c3780f6.tar.bz2 pfsense-packages-bc5ba395055536aa336d934ed896a3687c3780f6.zip |
Use $config['system']['dummynetshaper'] option to load ipfw / dummynet both early on in the pfil process.
Diffstat (limited to 'packages/per-user-bandwidth-distribution.xml')
-rw-r--r-- | packages/per-user-bandwidth-distribution.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/per-user-bandwidth-distribution.xml b/packages/per-user-bandwidth-distribution.xml index 1ff36e3a..bb04b287 100644 --- a/packages/per-user-bandwidth-distribution.xml +++ b/packages/per-user-bandwidth-distribution.xml @@ -82,6 +82,8 @@ fclose($fd); mwexec("chmod a+rx /usr/local/etc/rc.d/per_user_bandwidth_distribution.sh"); mwexec_bg("/usr/local/etc/rc.d/per_user_bandwidth_distribution.sh"); + $config['system']['dummynetshaper'] = true; + write_config(); conf_mount_ro(); </custom_add_php_command> <custom_php_deinstall_command> @@ -90,6 +92,8 @@ mwexec("/sbin/kldunload ipfw"); conf_mount_rw(); unlink_if_exists("/usr/local/etc/rc.d/per_user_bandwidth_distribution.sh"); + unset($config['system']['dummynetshaper']); + write_config(); conf_mount_ro(); </custom_php_deinstall_command> </packagegui>
\ No newline at end of file |