Removed quotes for chroot command in usher
This commit is contained in:
2
Makefile
2
Makefile
@@ -16,7 +16,7 @@ DESC = This package implements two system log daemons. The syslogd daemon \
|
|||||||
is an enhanced version of the standard Berkeley utility program. The klogd \
|
is an enhanced version of the standard Berkeley utility program. The klogd \
|
||||||
daemon listens to kernel message sources and is responsible for prioritizing \
|
daemon listens to kernel message sources and is responsible for prioritizing \
|
||||||
and processing operating system messages.
|
and processing operating system messages.
|
||||||
SNAPVER = 5
|
SNAPVER = 6
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ case $1 in
|
|||||||
/etc/init.d/sysklogd restart
|
/etc/init.d/sysklogd restart
|
||||||
update-rc enable sysklogd
|
update-rc enable sysklogd
|
||||||
else
|
else
|
||||||
chroot ${TARGET} 'update-rc enable sysklogd'
|
chroot ${TARGET} update-rc enable sysklogd
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
prerm)
|
prerm)
|
||||||
|
|||||||
Reference in New Issue
Block a user