diff options
author | Eric Hameleers <alien@slackware.com> | 2019-01-22 16:08:14 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-01-22 16:08:14 +0100 |
commit | d64897259fd60bf32b1c0762a43ee61aa5ceac08 (patch) | |
tree | be7c50a66537881030248b6e682a23801e3a3918 | |
parent | 023d1b50dcbb98a329f00d8d7d97522e1cc8f852 (diff) | |
download | liveslak-d64897259fd60bf32b1c0762a43ee61aa5ceac08.tar.gz liveslak-d64897259fd60bf32b1c0762a43ee61aa5ceac08.tar.xz |
liveinit: fix a bug in PXE network device configuration
-rwxr-xr-x | liveinit.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/liveinit.tpl b/liveinit.tpl index 8f8bf18..d6e437c 100755 --- a/liveinit.tpl +++ b/liveinit.tpl @@ -374,8 +374,9 @@ if [ "$RESCUE" = "" ]; then echo "/run/dhcpcd/dhcpcd-${MYDEV}.pid" elif [ -s /run/dhcpcd-${MYDEV}.pid ]; then echo "/run/dhcpcd-${MYDEV}.pid" + else + echo UNKNOWNLOC fi - echo UNKNOWNLOC } setnet() { |