blob: 19966472971097a6b3fbdea5b09a76d72644043f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
post_install() {
echo " > Now add 'passwd' to your HOOKS array in /etc/mkinitcpio.conf"
echo " > and rebuild initial ramdisk."
echo " > You can then set password with password=user:password or"
echo " > pwhash=user:passwordhash"
echo " > Add secure shell authorized key with authorized_key=user:type:key"
}
post_remove() {
sed -i "/^HOOKS=/s/passwd//" /etc/mkinitcpio.conf
}
|