Skip to content

Commit efea0c1

Browse files
committed
zfsbootmenu: use symlinks for two useful aliases
initcpio + dropbear uses ash as the login shell instead of bash, short-circuiting the aliases set in root's bashrc.
1 parent bcf4afb commit efea0c1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

zfsbootmenu/bin/debug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ztrace

zfsbootmenu/bin/zbm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
zfsbootmenu

zfsbootmenu/install-helpers.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,8 @@ create_zbm_profiles() {
155155
156156
alias clear="tput clear"
157157
alias reset="tput reset"
158-
alias zbm="zfsbootmenu"
159158
alias logs="ztrace"
160159
alias trace="ztrace"
161-
alias debug="ztrace"
162160
alias help="/libexec/zfsbootmenu-help -L recovery-shell"
163161
164162
zdebug "sourced /root/.bashrc" || true

0 commit comments

Comments
 (0)