|
发表于 2006-3-23 21:33:21
|
显示全部楼层
这儿学来的- [kiron@home src]$ head -20 /etc/init.d/functions
- # -*-Shell-script-*-
- #
- # functions This file contains functions to be used by most or all
- # shell scripts in the /etc/init.d directory.
- #
- TEXTDOMAIN=initscripts
- # Make sure umask is sane
- umask 022
- # Set up a default search path.
- PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
- export PATH
- # Get a sane screen width
- [ -z "${COLUMNS:-}" ] && COLUMNS=80
- [ -z "${CONSOLETYPE:-}" ] && CONSOLETYPE="`/sbin/consoletype`"
- [kiron@home src]$ uname -a
- Linux home 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 athlon i386 GNU/Linux
- [kiron@home src]$
复制代码 |
|