mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
Forgot to "git add" the new pakfire init script
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
25
src/initscripts/system/pakfire
Normal file
25
src/initscripts/system/pakfire
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
########################################################################
|
||||
# Begin $rc_base/init.d/pakfire
|
||||
#
|
||||
# Description : Imports the keyring to make Pakfire operational
|
||||
#
|
||||
########################################################################
|
||||
|
||||
. /etc/sysconfig/rc
|
||||
. ${rc_functions}
|
||||
|
||||
case "${1}" in
|
||||
start)
|
||||
boot_mesg "Setting up Pakfire Package Manager..."
|
||||
gpg --import /opt/pakfire/pakfire.key &>/dev/null
|
||||
evaluate_retval
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: ${0} {start}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# End $rc_base/init.d/pakfire
|
||||
Reference in New Issue
Block a user