/home/green/tmp/cvsSFosXg
This commit is contained in:
parent
304199ce19
commit
1ad1ab1434
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107994
@ -12,8 +12,8 @@ BIN1= amd.map apmd.conf auth.conf \
|
|||||||
inetd.conf login.access login.conf \
|
inetd.conf login.access login.conf \
|
||||||
mac.conf motd netconfig networks newsyslog.conf \
|
mac.conf motd netconfig networks newsyslog.conf \
|
||||||
phones printcap profile protocols \
|
phones printcap profile protocols \
|
||||||
rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
|
rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
|
||||||
rc.network rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown \
|
rc.network rc.network6 rc.pccard rc.sendmail rc.serial \
|
||||||
rc.subr rc.syscons rc.sysctl remote rpc services \
|
rc.subr rc.syscons rc.sysctl remote rpc services \
|
||||||
shells sysctl.conf syslog.conf usbd.conf \
|
shells sysctl.conf syslog.conf usbd.conf \
|
||||||
etc.${MACHINE_ARCH}/disktab \
|
etc.${MACHINE_ARCH}/disktab \
|
||||||
@ -37,7 +37,7 @@ SSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
# -rwxr-xr-x root:wheel, for the new cron root:wheel
|
# -rwxr-xr-x root:wheel, for the new cron root:wheel
|
||||||
BIN2= netstart pccard_ether rc.suspend rc.resume
|
BIN2= netstart pccard_ether rc.suspend rc.resume rc rc.shutdown
|
||||||
|
|
||||||
DEFAULTS= rc.conf pccard.conf periodic.conf
|
DEFAULTS= rc.conf pccard.conf periodic.conf
|
||||||
|
|
||||||
|
@ -737,6 +737,8 @@ runcom(void)
|
|||||||
#ifdef LOGIN_CAP
|
#ifdef LOGIN_CAP
|
||||||
setprocresources(RESOURCE_RC);
|
setprocresources(RESOURCE_RC);
|
||||||
#endif
|
#endif
|
||||||
|
execv(_PATH_RUNCOM, argv + 1);
|
||||||
|
warning("can't exec %s: %m", _PATH_RUNCOM);
|
||||||
execv(_PATH_BSHELL, argv);
|
execv(_PATH_BSHELL, argv);
|
||||||
stall("can't exec %s for %s: %m", _PATH_BSHELL, _PATH_RUNCOM);
|
stall("can't exec %s for %s: %m", _PATH_BSHELL, _PATH_RUNCOM);
|
||||||
_exit(1); /* force single user mode */
|
_exit(1); /* force single user mode */
|
||||||
@ -1497,6 +1499,8 @@ runshutdown(void)
|
|||||||
#ifdef LOGIN_CAP
|
#ifdef LOGIN_CAP
|
||||||
setprocresources(RESOURCE_RC);
|
setprocresources(RESOURCE_RC);
|
||||||
#endif
|
#endif
|
||||||
|
execv(_PATH_RUNDOWN, argv + 1);
|
||||||
|
warning("can't exec %s: %m", _PATH_RUNDOWN);
|
||||||
execv(_PATH_BSHELL, argv);
|
execv(_PATH_BSHELL, argv);
|
||||||
warning("can't exec %s for %s: %m", _PATH_BSHELL, _PATH_RUNDOWN);
|
warning("can't exec %s for %s: %m", _PATH_BSHELL, _PATH_RUNDOWN);
|
||||||
_exit(1); /* force single user mode */
|
_exit(1); /* force single user mode */
|
||||||
|
Loading…
Reference in New Issue
Block a user