Package: netenv
Version: 0.94.3-26
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
- Updated netenv.diff to include Ubuntu.
We thought you might be interested in doing the same.
Thanks,
Luke Faraone
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-20-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u netenv-0.94.3/debian/patches/netenv.diff netenv-0.94.3/debian/patches/netenv.diff
--- netenv-0.94.3/debian/patches/netenv.diff
+++ netenv-0.94.3/debian/patches/netenv.diff
@@ -381,7 +381,7 @@
+ /etc/init.d/network restart
+ # As of SuSE 8.0 route has gone. Still here for 7.3 Users ...
+ if [ -x /etc/init.d/route ]; then /etc/init.d/route restart; fi
-+ elif grep Debian /etc/issue > /dev/null; then
++ elif grep "\(Debian\)\|\(Ubuntu\)" /etc/issue > /dev/null; then
+ for script in $DEBIAN_RUN_INIT_SCRIPTS; do
+ /etc/init.d/$script restart;
+ done