[01:48] Keybuk: is there a way to force a rc script to run in the foreground? [01:49] example: I'm installing a fully automated ubuntu on VMware and I have it so that rc.local triggers an installation of the vmware tools [01:49] but upstart lets that run in the bg [01:49] so it just drops to a login prompt (I disable X for the installation as well) [01:51] and that's kind of awkward for users who will be wondering wtf is going on [02:06] define foreground [02:28] Keybuk: i just want it to be the last thing the user sees in the init messages, and not go to a login prompt [02:28] easy way to describe it is.. as if ubuntu was using sysvinit and i had put the same stub in rc.local [02:28] it would say "Please wait, installing tools" and not show the login prompt [15:10] hey, there, all! I am trying to write an upstart script similar to control-alt-delete but for a different key-combo [15:11] is there a way to do this? [15:11] I am unclear as to where c-a-d gets the actualy keystroke event from [15:16] the kernel [15:16] it's specially handled [15:16] when you press Ctrl-Alt-Del the kernel sents init SIGINT [15:16] ah [15:17] (and I think the only reason the kernel traps it is because it's an interrupt on a PC) [15:17] is there anyway to implement the old inittab's kbrequest? [15:17] "on kbdrequest" [15:17] that's Alt-UpArrow, and support for it is likely compiled out of your kernel [15:18] :( [15:18] really? [15:18] damn [15:18] well, I'm on gutsy [15:18] sotck kernel [15:19] I sppose its worth attempting [15:19] what are you trying to do? :) [15:19] execute a command at the console based on alt-uparrow ;) [15:20] is there a way to load a newly written upstart script (short of rebooting) [15:23] they load automatically [15:23] ah [15:24] then, it doesnt quite work :) [15:24] it doesn't? [15:24] which bit? [15:24] does "status JOBNAME" show anything? [15:24] start on kbdrequest [15:24] right, your kernel probably doesn't have kbdrequest support [15:24] exec echo "Alt-Uparrow pressed" [15:24] right [15:24] did you have "console output" in there too? [15:25] no [15:25] before exec? [15:25] so where's that echo going to go? :) [15:25] (sorry - upstart newbie :) ) [15:26] still doesnt work [15:26] * Gadi wonders why kbdrequest was not compiled in [15:26] and whther to patch the kernel just for this :) [15:27] s/patch/recompile/ [15:30] hmm [15:30] looking at the kernel it's always compiled in [15:30] I just can't figure out what key it's bound to [15:34] hmm [15:35] ah, maybe /etc/console/ is just not set right [15:35] maybe [15:36] check for KeyboardSignal in your key map [15:38] hmm its there: alt keycode 103 = KeyboardSignal [15:38] and keycode 103 is set to? [15:39] Up [15:39] should work then [15:39] if not, you're deep into the mysteries of the console [15:39] * Keybuk has never got it to work [15:39] heh, I used to do it all the time with inittab [15:39] on Dapper :P [15:40] pre-upstart [15:40] u sure I dont need to reboot? [15:40] * Gadi reboots for the heck of it [15:41] try upstart on dapper [15:41] it doesn't work for me on sysvinit either [15:41] we changed the console layer a *lot* in edgy [15:41] (switched to using X keyboard maps) [15:48] ah [15:48] ok, I will play a bit [15:48] otherwise, I'll workaround [15:48] thanks for guiding a poor newb [15:53] Phew. I finally got around to wiring my rack today. About fifty cables connected. :-)