The good news is that my initial PR was correct... the bad news is that I
was apparently smoking something when I committed the last fix, because as ume was kindly enough to set me straight on, amd *will* start with no arguments at all, as long as there is an /etc/amd.conf file for it to read. What it won't do is start with *just* -p. In any case, now it's fixed.
This commit is contained in:
parent
810e37cb5c
commit
3b51c999a4
@ -757,8 +757,12 @@ network_pass3() {
|
||||
|
||||
case "${amd_flags}" in
|
||||
'')
|
||||
echo ''
|
||||
if [ -r /etc/amd.conf ]; then
|
||||
amd &
|
||||
else
|
||||
echo ''
|
||||
echo 'Warning: amd will not load without arguments'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
amd -p ${amd_flags} \
|
||||
|
@ -757,8 +757,12 @@ network_pass3() {
|
||||
|
||||
case "${amd_flags}" in
|
||||
'')
|
||||
echo ''
|
||||
if [ -r /etc/amd.conf ]; then
|
||||
amd &
|
||||
else
|
||||
echo ''
|
||||
echo 'Warning: amd will not load without arguments'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
amd -p ${amd_flags} \
|
||||
|
@ -757,8 +757,12 @@ network_pass3() {
|
||||
|
||||
case "${amd_flags}" in
|
||||
'')
|
||||
echo ''
|
||||
if [ -r /etc/amd.conf ]; then
|
||||
amd &
|
||||
else
|
||||
echo ''
|
||||
echo 'Warning: amd will not load without arguments'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
amd -p ${amd_flags} \
|
||||
|
@ -757,8 +757,12 @@ network_pass3() {
|
||||
|
||||
case "${amd_flags}" in
|
||||
'')
|
||||
echo ''
|
||||
if [ -r /etc/amd.conf ]; then
|
||||
amd &
|
||||
else
|
||||
echo ''
|
||||
echo 'Warning: amd will not load without arguments'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
amd -p ${amd_flags} \
|
||||
|
@ -757,8 +757,12 @@ network_pass3() {
|
||||
|
||||
case "${amd_flags}" in
|
||||
'')
|
||||
echo ''
|
||||
if [ -r /etc/amd.conf ]; then
|
||||
amd &
|
||||
else
|
||||
echo ''
|
||||
echo 'Warning: amd will not load without arguments'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
amd -p ${amd_flags} \
|
||||
|
@ -757,8 +757,12 @@ network_pass3() {
|
||||
|
||||
case "${amd_flags}" in
|
||||
'')
|
||||
echo ''
|
||||
if [ -r /etc/amd.conf ]; then
|
||||
amd &
|
||||
else
|
||||
echo ''
|
||||
echo 'Warning: amd will not load without arguments'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
amd -p ${amd_flags} \
|
||||
|
@ -757,8 +757,12 @@ network_pass3() {
|
||||
|
||||
case "${amd_flags}" in
|
||||
'')
|
||||
echo ''
|
||||
if [ -r /etc/amd.conf ]; then
|
||||
amd &
|
||||
else
|
||||
echo ''
|
||||
echo 'Warning: amd will not load without arguments'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
amd -p ${amd_flags} \
|
||||
|
Loading…
Reference in New Issue
Block a user