forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
17 lines
727 B
Java
17 lines
727 B
Java
--- jdk/src/solaris/classes/sun/print/UnixPrintServiceLookup.java
|
|
+++ jdk/src/solaris/classes/sun/print/UnixPrintServiceLookup.java
|
|
@@ -140,12 +140,12 @@
|
|
static int cmdIndex = UNINITIALIZED;
|
|
|
|
String[] lpcFirstCom = {
|
|
- "/usr/sbin/lpc status | grep : | sed -ne '1,1 s/://p'",
|
|
+ "/usr/sbin/lpc status all | grep ':$' | sed -ne '1,1 s/://p'",
|
|
"/usr/sbin/lpc status | grep -E '^[ 0-9a-zA-Z_-]*@' | awk -F'@' '{print $1}'"
|
|
};
|
|
|
|
String[] lpcAllCom = {
|
|
- "/usr/sbin/lpc status all | grep : | sed -e 's/://'",
|
|
+ "/usr/sbin/lpc status all | grep ':$' | sed -e 's/://'",
|
|
"/usr/sbin/lpc status all | grep -E '^[ 0-9a-zA-Z_-]*@' | awk -F'@' '{print $1}' | sort"
|
|
};
|
|
|