Changeset 13372 in hybrid
- Timestamp:
- Aug 30, 2015, 12:58:01 AM (9 years ago)
- Location:
- branches/releng-10/nanobsd
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-10/nanobsd/cfg/nanobsd.wleiden
r13174 r13372 252 252 ) 253 253 254 # Customize sudoers files 255 cust_sudo_rules() { 256 chroot ${NANO_WORLDDIR} chmod -R 0440 /usr/local/etc/sudoers.d 257 } 258 254 259 255 260 … … 351 356 customize_cmd cust_nano_prune 352 357 customize_cmd cust_set_root_password 358 customize_cmd cust_sudo_rules 353 359 #customize_cmd cust_apply_nanobsd_patches 354 360 late_customize_cmd late_cust_unset_common_var_and_tmp -
branches/releng-10/nanobsd/files/usr/local/www/portal/login/index.cgi
r13371 r13372 5 5 # Rick van der Zwet <info@rickvanderzwet.nl> 6 6 # 7 PATH=$PATH:/usr/ sbin:/usr/bin:/sbin7 PATH=$PATH:/usr/local/bin:/usr/sbin:/usr/bin:/sbin 8 8 DB=/tmp/authenticated.txt 9 9 … … 19 19 20 20 # Add entry to authorized list 21 pfctl -q -t wlportal -T add $REMOTE_ADDR21 sudo pfctl -q -t wlportal -T add $REMOTE_ADDR 22 22 23 23 # Redirect to proper page -
branches/releng-10/nanobsd/files/usr/local/www/portal/logout/index.cgi
r13056 r13372 5 5 # Rick van der Zwet <info@rickvanderzwet.nl> 6 6 # 7 PATH=$PATH:/usr/ sbin:/usr/bin:/sbin7 PATH=$PATH:/usr/local/bin:/usr/sbin:/usr/bin:/sbin 8 8 DB=/tmp/authenticated.txt 9 9 … … 11 11 12 12 # Add entry to authorized list 13 pfctl -q -t wlportal -T delete $REMOTE_ADDR13 sudo pfctl -q -t wlportal -T delete $REMOTE_ADDR 14 14 15 15 # Redirect to proper page 16 echo ' HTTP 1.0 200 OK'16 echo 'Content-Type: text/html' 17 17 echo 'Refresh: 60; url=/portal/login' 18 18 echo ''
Note:
See TracChangeset
for help on using the changeset viewer.