Skip to content

Commit

Permalink
Merge pull request #2 from IMbackK/maemo/chimaera-devel
Browse files Browse the repository at this point in the history
dbus-user.init: use bash instead of the user shell to run scripts
  • Loading branch information
freemangordon committed Aug 30, 2023
2 parents bc06b37 + 1bea8a5 commit 681fa37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/control
Expand Up @@ -8,7 +8,7 @@ Standards-Version: 3.6.0
Package: osso-af-startup
Architecture: all
Pre-Depends: dpkg (>= 1.17.14)
Depends: osso-af-utils (>= 1.16-1), dbus (>= 0.61-osso5), sudo, maemo-system-services (>= 0.5.0)
Depends: osso-af-utils (>= 1.16-1), dbus (>= 0.61-osso5), sudo, maemo-system-services (>= 0.5.0), bash
Description: Application framework top startup scripts
Application framework startup scripts af-services, af-startup and
af-base-apps. Also includes D-BUS session bus starting script.
Expand Down
4 changes: 2 additions & 2 deletions debian/dbus-user.init
Expand Up @@ -13,10 +13,10 @@ depend() {

start() {
ebegin "Starting dbus user session"
runuser - user /etc/osso-af-init/real-af-dbus start
runuser -ls /bin/bash user /etc/osso-af-init/real-af-dbus start
}

stop() {
eend "Stopping dbus user session"
runuser - user /etc/osso-af-init/real-af-dbus stop
runuser -ls /bin/bash user /etc/osso-af-init/real-af-dbus stop
}

0 comments on commit 681fa37

Please sign in to comment.