Questions tagged [startupscript]

158 questions
2
votes
3 answers

Windows 7 login script using password

I have been trying to write a script batch file or an exe to perform login. It should perform a basic operation- just login my windows 7 pc which is not in a network. I have a jar file running on the background. I want to write a script with a…
GOBINATH.M
  • 663
  • 2
  • 12
  • 24
2
votes
2 answers

Script in PATH Mac OSX terminal not working

I have the following script in my /path/to/startupscripts directory, so I can open the emacs GUI with the command 'emacs': #!/bin/sh /Applications/Emacs.app/Contents/MacOS/Emacs "$@" I edited my ~/.bash_profile and added the following line export…
2
votes
2 answers

Running a script with the help of GRUB and menu.lst?

Can't I run myScript by appending a line to the entry of Linux in /boot/grub/menu.lst as: title Ubuntu 9.04, kernel 2.6.28-11-generic uuid b20f1720-b3f5-4162-bc92-ab2deb8d5d04 #kernel /boot/vmlinuz-2.6.28-11-generic…
Uthman
  • 9,251
  • 18
  • 74
  • 104
2
votes
1 answer

Writing startup script for Ubuntu

Note: I did consider putting this question on the AskUbuntu site, but believe it is a scripting/programming question at its core, and thus deserves to be here on SO. I'm trying to use upstart to run a script every time I turn my Ubuntu desktop on.…
user1768830
2
votes
2 answers

Azure deployment fails due to startup script

I'm kicking off the startup script per the following in my ServiceDefinition.csdef
DeepSpace101
  • 13,110
  • 9
  • 77
  • 127
2
votes
3 answers

How do I run a batch file on startup for a Win x64 machine?

I know you can use autoexnt to run a batch file on startup for Windows XP, but that only seems to work for 32-bit machines. I'm running Windows XP x64 on a box, and I need to have a script run on startup (without anyone's logging in). Any…
Mark
1
vote
2 answers

Branching instruction which ignores important data?

I have a problem understnding a branch instruction B arm926ejs_reset_handler which leaps to the label arm926ejs_reset_handler: and thus ignores the code in between. I wonder why would anyone do this? And some additional explanation. Label…
71GA
  • 1,132
  • 6
  • 36
  • 69
1
vote
1 answer

assembly bootloader

In my assembly startup code for ARM9 i have some lines that i don't understand and are like this: .word 0x41676d69 .word 0,0,0,0,0 image_type: .word 0x0000000A sizeOfPermanentCode: .word (__image_size) .word …
71GA
  • 1,132
  • 6
  • 36
  • 69
1
vote
1 answer

How to know whether a given client-side startup script is already registered in an asp.net page?

I have a asp.net page, and would like to know whether "script1" is already registered as a startup script or not?
RBS
  • 3,801
  • 11
  • 35
  • 33
1
vote
0 answers

The startup script is executed on the VM defined as a resource but not on the VMs from the Terraform's instance template module

I tried to create a load balancer with the MIG consisting of three VMs. Additionally, I created a VM that is not part of the MIG but operates within the same subnet. The reason for making it was to check the connectivity between the VM and the VMs…
1
vote
1 answer

How to login with different user credential while creating GCE instance using powershell startup script

I am trying following--> Creating GCE instance via gcloud cmds As a metadata I am providing ps1 scripts which is creating User and adding to required domain Once user created I need to use that user credential and run few commands as…
1
vote
0 answers

Ubuntu : Automatically start GUI application at startup

I would like to start a GUI application when the session starts It is a CM4 with a 5 inch touch screen, the purpose is to launch an application when Ubuntu starts. Via a terminal, when I start it (./main) it works without problem I tried via…
1
vote
2 answers

start tmux sessions in googlecloud startup-script

I added a startup-script entry in the metadatas of my google cloud instance as suggested in the doc here the question Google Compute Engine - Start tmux with startup-script didn't work for me. my startup-script code is: #! /bin/bash tmux…
1
vote
0 answers

How can a bash script run on startup?

I have an Asus router (RT-AC51U) and I would like to make a script to send some information from the router through serial. I've already programmed this script and it is running as wanted. After changing the mode of the file to being executable, I…
fronsoi
  • 11
  • 2
1
vote
2 answers

GCP Startup-Script for setting DNS entries RHEL-7

I'm trying to expand my Google Cloud Platform startup-script so that it sets DNS entries. But every time I include these two lines of code the script does not get executed and fails. echo "nameserver 0.0.0.0" >> /etc/resolv.conf echo "nameserver…
1 2
3
10 11