4 Commits
1.1.0 ... 1.1.2

Author SHA1 Message Date
fbt
9eaeb20880 ok I really need a makefile for this. killall5 in sysv and ubase are different 2014-07-23 23:59:24 +04:00
fbt
b075b55846 spark is dead 2014-07-06 20:27:37 +04:00
fbt
59636aac4c I did not know about the ctraltdel utility 2014-07-06 14:24:03 +04:00
fbt
3a9f581a79 killall5 shouldn't be hardcoded 2014-05-07 17:28:45 +04:00
3 changed files with 11 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
spark-rc spark-rc
======== ========
An example rc to use with spark (or not) A simple rc script to kickstart your system.

4
bin/rc
View File

@@ -84,10 +84,10 @@ rc.services_stop() {
rc.stop_everything() { rc.stop_everything() {
echo "Politely asking all processes to shut down..." echo "Politely asking all processes to shut down..."
/opt/sbase/bin/killall5 -s 15; sleep 3 killall5 -15; sleep 3
echo "Killing the remaning ones..." echo "Killing the remaning ones..."
/opt/sbase/bin/killall5 -s 9 killall5 -9
} }
rc.unmount_everything() { rc.unmount_everything() {

View File

@@ -5,8 +5,13 @@ export PATH='/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin'
cfg_hostname='changeme' cfg_hostname='changeme'
# Services # Services
cfg_services+=( 'fsck' 'mount' 'udev' 'sysctl' 'rc.local' ) cfg_services+=( 'fsck' 'mount' 'systemd-udevd' 'sysctl' ) # Services that need tp be started in an order
cfg_services+=( agetty-tty{2..6} ) # Comment this if your init starts something on the ttys itself 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_services+=( '@crond' '@network' '@dbus' '@alsa' ) # These start in parallel.
cfg_services+=( 'rc.local' ) # Traditionally, rc.local starts last.
cfg_modules=( ) # Add modules you want to be loaded at boot time here cfg_modules=( ) # Add modules you want to be loaded at boot time here
# Make C-A-D perform a soft reset
ctrlaltdel soft