# Running a startup script in SLES12

**URL:** https://forums.suse.com/t/running-a-startup-script-in-sles12/26348
**Category:** SLES Configure-Administer
**Created:** [November 11, 2014, 3:39pm UTC](https://forums.suse.com/t/running-a-startup-script-in-sles12/26348 "2014-11-11T15:39:17Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![viswamraju](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@viswamraju](https://forums.suse.com/u/viswamraju)
#### Post date: [November 11, 2014, 3:39pm UTC](https://forums.suse.com/t/running-a-startup-script-in-sles12/26348/1 "2014-11-11T15:39:17Z")

</div>

Hi,

Recently installed SLES12. Planning to run a customized shell script as part of startup applications.

In SLES11 , We are able to achieve this task using control center ie wrote a shell script and launching the same using the Control center by adding into the startup Applications. But in SLES12, I was not able to found the control center and not able to add a custom script as a startup applications.

Please provide us the steps to achieve the same in SLES12.

Thanks in advance.

Regards,  
Raghu.

---

<div class="post-metadata">

### Author: ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)
#### Post date: [November 11, 2014, 3:53pm UTC](https://forums.suse.com/t/running-a-startup-script-in-sles12/26348/2 "2014-11-11T15:53:15Z")

</div>

If this should run every time, how about setting up a service to run?  
Another option I’ve seen used is the @reboot option within cron, so on  
startup something is called from there.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…

---

<div class="post-metadata">

### Author: ![viswamraju](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@viswamraju](https://forums.suse.com/u/viswamraju)
#### Post date: [November 12, 2014, 2:37pm UTC](https://forums.suse.com/t/running-a-startup-script-in-sles12/26348/3 "2014-11-12T14:37:09Z")

</div>

[http://linuxandfriends.com/how-to-add-startup-programs-in-gnome-3/](http://linuxandfriends.com/how-to-add-startup-programs-in-gnome-3/)

by following this link i’m able to launch a script at startup.

---

<div class="post-metadata">

### Author: ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)
#### Post date: [November 12, 2014, 3:30pm UTC](https://forums.suse.com/t/running-a-startup-script-in-sles12/26348/4 "2014-11-12T15:30:10Z")

</div>

Thank-you for sharing your find. Just to be clear, this looks like it  
starts a program at login, not at startup, and thus as a (your) regular  
user, not as a system service (often started initially by ‘root’).

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…
