On Mon, 20 Oct 2008 19:28:31 +0200, Alexander Wirt wrote: > > + if [ ! -c /dev/net/tun ] && [ -x /dev/MAKEDEV ] ; then > > + echo "Creating device /dev/net/tun ..." > > + cd /dev > > + ./MAKEDEV tun || true > > + fi > > Any comments on the patch?
> if [ -d "/dev/.static" ]; then > cd /dev/.static > ./MAKEDEV .... > else > cd /dev/ > ./MAKEDEV > fi > > Should be nicer. Thanks, looks indeed nicer. Unfortunatley iodine (in src/tun.c) explicitly looks for /dev/net/tun and fails with /dev/.static/net/tun (I stumbled over this when working on #434160). Cheers, gregor -- .''`. Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/ `- NP: Sting: I Hung My Head
signature.asc
Description: Digital signature