Permalink
Browse files

Hopefully fixed startup issues..

  • Loading branch information...
1 parent 28c3943 commit 5c0734e73877a25b8a1f4252a4107c54a0f98cd6 @MrMEEE committed Sep 13, 2011
Showing with 659 additions and 1 deletion.
  1. +16 −0 bugweb/showinfo.php
  2. +2 −1 conf/ironhide.script
  3. +641 −0 data/allmachineinfo-2011-08-18
View
@@ -0,0 +1,16 @@
+<?php
+require "connect.php";
+
+if(isset($_GET["show"])){ // addmachine should not be combined with search
+// do not render the output as HTML
+header('Content-Type: text/plain');
+$id = filter_input(INPUT_GET, 'id');
+$info = filter_input(INPUT_GET, 'info');
+$query = mysql_query("SELECT $info FROM `bugreport` WHERE id = $id");
+$row = mysql_fetch_assoc($query);
+$getinfo = htmlspecialchars($row[$info]);
+
+$bin_str = pack("H*" , $getinfo);
+print($bin_str);
+}
+?>
View
@@ -27,6 +27,7 @@ PIDFILE=/tmp/.X1-lock
SCRIPTNAME=/etc/init.d/$NAME
CONFIGURATIONFILE=/etc/default/ironhide
LOCALECONFIGFILE=.ironhiderc
+STARTUPSCRIPT=/etc/pm/power.d/ironhide-disablecard-on-powerup
ENABLECARD=/usr/local/bin/ironhide-enablecard
DISABLECARD=/usr/local/bin/ironhide-disablecard
@@ -167,7 +168,7 @@ do_stop()
case "$1" in
start)
- $DISABLECARD
+ $STARTUPSCRIPT
;;
stop)
$ENABLECARD
Oops, something went wrong.

0 comments on commit 5c0734e

Please sign in to comment.