aboutsummaryrefslogtreecommitdiff
path: root/scripts/naskpass.pre
blob: 4eb6d3be2270bfefadf20359575795a674e9a6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. /scripts/functions
. /etc/naskpass.conf


if [ "x${PRINTK}" != "x" ] && [ -r ${PRINTK} ] && [ -w ${PRINTK} ]; then
	cat ${PRINTK} >${OLDPRINTK}
	echo "0 0 0 0" >${PRINTK}
fi

if [ -x /sbin/sshd ]; then
[ -x /bin/ipconfig ] && configure_networking >/dev/null 2>/dev/null &
/sbin/sshd
fi