tag rc6
[openwrt/svn-archive/openwrt.git] / package / psmisc / ipkg / psmisc.postinst
diff --git a/package/psmisc/ipkg/psmisc.postinst b/package/psmisc/ipkg/psmisc.postinst
new file mode 100644 (file)
index 0000000..3e4e999
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ -f ${IPKG_INSTROOT}/usr/bin/killall ]
+then
+    echo "Hard linking pidof to killall"
+    ln ${IPKG_INSTROOT}/usr/bin/killall ${IPKG_INSTROOT}/bin/pidof
+fi
+
+exit 0