blob: a398f1b8ede01e2a17355242da3a3250dad05f1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
set -e
update-alternatives --quiet \
--install /libexec/runsystem runsystem /libexec/runsystem.gnu 20
update-alternatives \
--install /usr/bin/fakeroot fakeroot /bin/fakeroot-hurd 30
if ! grep --quiet '^login:' /etc/passwd; then
adduser --quiet --system --home /etc/login --gecos "Not logged in" --no-create-home login
chsh -s /bin/bash login
fi
#DEBHELPER#
for i in vcs tty1 tty2 tty3 tty4 tty5 tty6; do
if ! [ -e /dev/$i ]; then
cd /dev
/sbin/MAKEDEV $i || true
fi
done
|