Skip to content

Commit

Permalink
main/nyagetty: fix syntax error in agetty-service.sh
Browse files Browse the repository at this point in the history
When starting a serial getty by specifying it in `/etc/default/agetty`
or running `dinitctl start agetty-service@ttyS0`, the service would
crash because of a syntax error in the helper script `/usr/lib/agetty-service`.
  • Loading branch information
mathijs28 authored and q66 committed Nov 5, 2024
1 parent 73d9809 commit 3b87878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/nyagetty/files/agetty-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ case "$1" in
tty[0-9]*|console) exec /usr/lib/agetty-default "$@" ;;
esac

exec /usr/lib/agetty-serial "$@" ;;
exec /usr/lib/agetty-serial "$@"
2 changes: 1 addition & 1 deletion main/nyagetty/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "nyagetty"
pkgver = "2.38.99"
pkgrel = 5
pkgrel = 6
build_style = "meson"
hostmakedepends = ["meson"]
makedepends = ["linux-headers"]
Expand Down

0 comments on commit 3b87878

Please sign in to comment.