Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
#! /bin/sh
set -e
changes=0
askyesno () {
if [ "$DEBIAN_FRONTEND" = "noninteractive" ] ; then
a=y
return
fi
while : ; do
echo -n "$1 "
read a || true
if [ "$a" = "" ] ; then
a="y"
fi
a=`echo $a | tr A-Z a-z`
if [ "$a" = "y" ] || [ "$a" = "n" ] ; then
break
fi
echo "Illegal answer"
done
}
# A cut-down version of 'which' from debianutils.
searchpath () {
PROGRAM="$1"
IFS_SAVE="$IFS"
IFS=:
RET=1
for ELEMENT in $PATH; do
if [ -z "$ELEMENT" ]; then
ELEMENT=.
fi
if [ -f "$ELEMENT/$PROGRAM" ] && \
[ -x "$ELEMENT/$PROGRAM" ]; then
RET=0
break
fi
done
IFS="$IFS_SAVE"
return "$RET"
}
if [ ! "$1" = "configure" ] ; then
exit 0
fi
if [ ! -e /etc/passwd ] ; then
cp /usr/share/base-passwd/passwd.master /etc/passwd
fi
if [ ! -e /etc/group ] ; then
cp /usr/share/base-passwd/group.master /etc/group
fi
if [ "$2" = "3.2.2" ] && [ -f /etc/passwd.org ] ; then
cat < /etc/passwd
changes=1
fi
fi
tmp=`tempfile`
if ! update-passwd --dry-run > $tmp ; then
cat <