This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: init and agetty packages available for review/upload.


Thanx! To be included into the next sysvinit release.

Sergey Okhapkin
Somerset, NJ

> BTW, I had found that the following was necessary in cygutil's
> postinstall script when I added last and utmpdump to cygutils.  Now that
> those programs are in sysvinit, sysvinit's /etc/postinstall script
> should contain these commands (that's /etc/postinstall/sysvinit.sh, not
> /usr/bin/init-config):
>
> #!/bin/sh
> if [ ! -d /var/run ] ; then \
>    mkdir -p /var/run ;
> fi
> if [ ! -d /var/log ] ; then \
>    mkdir -p /var/log ;
> fi
> if [ ! -f /var/run/utmp ] ; then \
>    touch /var/run/utmp ;
> fi
> if [ ! -f /var/log/wtmp ] ; then \
>    touch /var/log/wtmp ;
> fi
>
> --Chuck
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]