]> git.ipfire.org Git - ipfire-2.x.git/blob - src/initscripts/system/pakfire
pakfire: Rename new key to pakfire-2018.key
[ipfire-2.x.git] / src / initscripts / system / pakfire
1 #!/bin/sh
2 ########################################################################
3 # Begin $rc_base/init.d/pakfire
4 #
5 # Description : Imports the keyring to make Pakfire operational
6 #
7 ########################################################################
8
9 . /etc/sysconfig/rc
10 . ${rc_functions}
11
12 case "${1}" in
13 start)
14 boot_mesg "Setting up Pakfire Package Manager..."
15 gpg --import /opt/pakfire/pakfire-2018.key &>/dev/null
16 evaluate_retval
17 ;;
18
19 *)
20 echo "Usage: ${0} {start}"
21 exit 1
22 ;;
23 esac
24
25 # End $rc_base/init.d/pakfire