Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
b075b55846 | |||
59636aac4c | |||
3a9f581a79 |
@@ -1,4 +1,4 @@
|
||||
spark-rc
|
||||
========
|
||||
|
||||
An example rc to use with spark (or not)
|
||||
A simple rc script to kickstart your system.
|
||||
|
4
bin/rc
4
bin/rc
@@ -84,10 +84,10 @@ rc.services_stop() {
|
||||
|
||||
rc.stop_everything() {
|
||||
echo "Politely asking all processes to shut down..."
|
||||
/opt/sbase/bin/killall5 -s 15; sleep 3
|
||||
killall5 -s 15; sleep 3
|
||||
|
||||
echo "Killing the remaning ones..."
|
||||
/opt/sbase/bin/killall5 -s 9
|
||||
killall5 -s 9
|
||||
}
|
||||
|
||||
rc.unmount_everything() {
|
||||
|
@@ -5,8 +5,11 @@ export PATH='/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin'
|
||||
cfg_hostname='changeme'
|
||||
|
||||
# Services
|
||||
cfg_services+=( 'fsck' 'mount' 'udev' 'sysctl' 'rc.local' )
|
||||
cfg_services+=( 'fsck' 'mount' 'systemd-udevd' 'sysctl' 'rc.local' )
|
||||
cfg_services+=( agetty-tty{2..6} ) # Comment this if your init starts something on the ttys itself
|
||||
cfg_services+=( '@crond' '@network' '@dbus' '@alsa' ) # These start in parallel
|
||||
|
||||
cfg_modules=( ) # Add modules you want to be loaded at boot time here
|
||||
|
||||
# Make C-A-D perform a soft reset
|
||||
ctrlaltdel soft
|
||||
|
Reference in New Issue
Block a user