Skip to content

Commit

Permalink
shell-detect
Browse files Browse the repository at this point in the history
  • Loading branch information
jardon committed Nov 1, 2024
1 parent bae6fc2 commit f0b062b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions includes.container/usr/bin/vanilla-shell-detect
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

if [[ "$1" == "rescue" ]]; then
exec /bin/bash "$@"
else
exec /usr/bin/vso-os-shell "$@"
fi
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ Actions=rescue;

[Desktop Action rescue]
Name=Rescue Mode
Exec="blackbox-terminal -c /bin/bash"
Exec="blackbox-terminal -- rescue"
Icon=com.raggesilver.BlackBox
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[com.raggesilver.BlackBox]
use-custom-command = true
custom-shell-command = "/usr/bin/vso-os-shell"
custom-shell-command = "/usr/bin/vanilla-shell-detect"

0 comments on commit f0b062b

Please sign in to comment.