summaryrefslogtreecommitdiff
path: root/package/gpm/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/gpm/files')
-rw-r--r--package/gpm/files/gpm.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/gpm/files/gpm.init b/package/gpm/files/gpm.init
index 95565a1fa..e1dad94d0 100644
--- a/package/gpm/files/gpm.init
+++ b/package/gpm/files/gpm.init
@@ -8,6 +8,7 @@ case $1 in
autostop) ;;
autostart)
test x"${gpm:-NO}" = x"NO" && exit 0
+ test x"$gpm" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)