mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-03-20 10:54:37 +01:00
On newer systems /bin is linked to /usr/bin, the same goes for /sbin. This is called usrmerge. Some distributions seem to have introduced usrmerge just very recently, like openSUSE in 2021. So SystemRescue should fully support this for years to come. So we need /bin, /sbin and /usr/sbin in the default $PATH to make it easy to use from within a chroot.
4 lines
215 B
Bash
4 lines
215 B
Bash
# /sbin is not used on ArchLinux but it is often required in chroot
|
|
# also support chrooting on older systems without usrmerge (/usr/sbin and /bin)
|
|
export PATH=${PATH}:/sbin:/usr/sbin:/bin:/usr/share/sysrescue/bin/
|