Fix typo in killall5.c and move initscript.sample file
from source tree into "doc" directory.
This commit is contained in:
parent
986bee63c0
commit
6a8a216449
@ -188,7 +188,7 @@ install:
|
||||
$(INSTALL_EXEC) $$i $(ROOT)/usr/bin/ ; \
|
||||
done
|
||||
# $(INSTALL_DIR) $(ROOT)/etc/
|
||||
# $(INSTALL_EXEC) initscript.sample $(ROOT)/etc/
|
||||
# $(INSTALL_EXEC) ../doc/initscript.sample $(ROOT)/etc/
|
||||
ln -sf halt $(ROOT)/sbin/reboot
|
||||
ln -sf halt $(ROOT)/sbin/poweroff
|
||||
ln -sf init $(ROOT)/sbin/telinit
|
||||
|
@ -1,25 +0,0 @@
|
||||
#
|
||||
# initscript If this script is intalled as /etc/initscript,
|
||||
# it is executed by init(8) for every program it
|
||||
# wants to spawn like this:
|
||||
#
|
||||
# /bin/sh /etc/initscript <id> <level> <action> <process>
|
||||
#
|
||||
# It can be used to set the default umask and ulimit
|
||||
# of all processes. By default this script is installed
|
||||
# as /etc/initscript.sample, so to enable it you must
|
||||
# rename this script first to /etc/initscript.
|
||||
#
|
||||
# Version: @(#)initscript 1.10 10-Dec-1995 MvS.
|
||||
#
|
||||
# Author: Miquel van Smoorenburg, <miquels@cistron.nl>
|
||||
#
|
||||
|
||||
# Set umask to safe level, and enable core dumps.
|
||||
umask 022
|
||||
ulimit -c 2097151
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
export PATH
|
||||
|
||||
# Execute the program.
|
||||
eval exec "$4"
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* kilall5.c Kill all processes except processes that have the
|
||||
* killall5.c Kill all processes except processes that have the
|
||||
* same session id, so that the shell that called us
|
||||
* won't be killed. Typically used in shutdown scripts.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user