File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
admin/daemontools/package Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -106,4 +106,6 @@ Oct 10, 2024
106106Oct 14, 2024
107107 version daemontools 0.78.3 (Roberto Puzzanghera)
108108 - all package/ scripts now run the bash shell
109+ - package/run script will recognize if we are in an lxc container to skip inittab configuration
110+ - package/run.rclocal will find both /etc/rc.local /etc/rc.d/rc.local
109111 - daemontools-0.78.2 directory renamed to daemontools
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- if grep svscanboot /etc/rc.local > /dev/null
3+ if grep svscanboot $1 > /dev/null
44then
55 echo ' rc.local contains an svscanboot line. I assume that svscan is already running.'
66else
7- echo ' Adding svscanboot to /etc/rc.local... '
8- rm -f /etc/rc.local ' {new}'
9- cat /etc/rc.local package/boot.rclocal > /etc/rc.local ' {new}'
10- mv -f /etc/rc.local ' {new}' /etc/rc.local
7+ echo " Adding svscanboot to $1 ... "
8+ rm -f ${1} ' {new}'
9+ cat $1 package/boot.rclocal > ${1} ' {new}'
10+ mv -f ${1} ' {new}' $1
1111 echo ' Reboot now to start svscan.'
1212fi
You can’t perform that action at this time.
0 commit comments