In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to add openSUSE startup scripts. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The setting of openSUSE startup program is special, take openSUSE 11 as an example. The startup of openSUSE is scattered, mainly including / etc/rc.d/boot.local, / etc/rc.d/after.local and / etc/init.d/before.local files. The meaning of each file is as follows:
/ etc/rc.d/after.local
The openSUSE startup file needs to be created manually. It is a script that executes after the system has completed the run-level startup. Similar to the rc.local of other systems.
/ etc/rc.d/boot.local
OpenSUSE Startup File A user script that is executed after the system is started and before entering the runtime. Note that the network and other devices are not ready when this file is executed, so you should be careful when using it.
/ etc/rc.d/before.local
The openSUSE startup file is executed before the system enters the runlevel, but later than boot.local, when devices such as the network are not ready.
In general, for most startup programs, it is appropriate to add it to / etc/rc.d/after.local. Mine is added here, the method is as follows
1:rot permission to enter the / etc/rc.d/ directory
2: create a new after.local file. The basic contents are as follows:
#! / usr/bin/bash
Ifdown eth0
Ifup wlan0
3: modify permission: chmod 755 after.local
Restart to see the effect: dmesg, or you can see it in alt + ctrl + F1!
Thank you for reading! This is the end of this article on "how to add an openSUSE startup script". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.