summaryrefslogtreecommitdiffstats
path: root/rules/mgetty.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-01-20 11:09:43 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2005-01-20 11:09:43 +0000
commited85882004d8545e85db2dc6667023905e026568 (patch)
tree955a1d6b6e7e43837a6f61452ea01456d5644516 /rules/mgetty.make
parent1dc19c27fb1a3774f1251497d359a0b4e13025fa (diff)
downloadptxdist-ed85882004d8545e85db2dc6667023905e026568.tar.gz
ptxdist-ed85882004d8545e85db2dc6667023905e026568.tar.xz
callback must be run as userid root, otherwise it won't work; patch by Steven Scholz
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2218 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/mgetty.make')
-rw-r--r--rules/mgetty.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/mgetty.make b/rules/mgetty.make
index e35b85779..a43c6aa8d 100644
--- a/rules/mgetty.make
+++ b/rules/mgetty.make
@@ -131,6 +131,10 @@ ifdef PTXCONF_MGETTY_INSTALL_CONFIG
endif
$(call copy_root, 0, 0, 0700, $(MGETTY_DIR)/mgetty, /usr/sbin/mgetty)
$(CROSSSTRIP) -R .note -R .comment $(ROOTDIR)/usr/sbin/mgetty
+ifdef PTXCONF_MGETTY_CALLBACK
+ $(call copy_root, 0, 0, 4755, $(MGETTY_DIR)/callback/callback, /usr/sbin/callback)
+ $(CROSSSTRIP) -R .note -R .comment $(ROOTDIR)/usr/sbin/callback
+endif
ifdef PTXCONF_SENDFAX
$(call copy_root, 0, 0, 0755, $(MGETTY_DIR)/sendfax, /usr/sbin/sendfax)
$(CROSSSTRIP) -R .note -R .comment $(ROOTDIR)/usr/sbin/sendfax