]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
set is shell builtin, env is not
authorRoy Marples <roy@marples.name>
Mon, 26 May 2008 16:06:35 +0000 (16:06 +0000)
committerRoy Marples <roy@marples.name>
Mon, 26 May 2008 16:06:35 +0000 (16:06 +0000)
dhcpcd-hooks/01-test

index 9586075d8dc86e969a7192353f018a29ead04d20..87c44d99f69d03910fd8ac679bfbbcc220b41cff 100644 (file)
@@ -1,6 +1,6 @@
 # Just echo our DHCP options we have
 
 if [ "${reason}" = "TEST" ]; then
-       env | grep "^\(interface\|pid\|reason\|skip_hooks\)="
-       env | grep "^\(new_\|old_\)" | sort
+       set | grep "^\(interface\|pid\|reason\|skip_hooks\)=" | sort
+       set | grep "^\(new_\|old_\)" | sort
 fi