Changeset 10605 in hybrid


Ignore:
Timestamp:
Apr 26, 2012, 8:25:28 PM (13 years ago)
Author:
rick
Message:

Having the tools in the default path by symlinking it from /root/bin makes the tools usable by default.

Why not install them in /usr/local/sbin? Clarity and maintainability mostly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/cfg/nanobsd.wleiden

    r10602 r10605  
    285285)
    286286
     287# Make tools available for root by default
     288cust_root_bin_to_tools() {
     289        ln -s /tools ${NANO_WORLDDIR}/root/bin
     290}
     291
    287292# Directly stolen from /usr/src/tools/tools/nanobsd/nanobsd.sh, and make sure
    288293# to source /etc/profile in chroot to get PKG_* included, for alternate installs
     
    411416customize_cmd cust_serial_ttys
    412417customize_cmd cust_version_tag
     418customize_cmd cust_root_bin_to_tools
    413419customize_cmd cust_allow_ssh_root
    414420customize_cmd cust_openvpn_dhparam
Note: See TracChangeset for help on using the changeset viewer.